Changeset 12 in flair-dev for trunk/scripts


Ignore:
Timestamp:
Apr 8, 2016, 2:26:18 PM (9 years ago)
Author:
Sanahuja Guillaume
Message:

sinus

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/flair_compile_all.sh

    r11 r12  
    7474
    7575function compile_tools() {
    76         #for projects in FlairGCS Controller/DualShock3 Dbt2csv; do
    77         for projects in FlairGCS Controller/DualShock3; do
     76        for projects in FlairGCS Controller/DualShock3 Dbt2csv; do
    7877                configure $FLAIR_ROOT/flair-src/tools $projects
    7978                compile $FLAIR_ROOT/flair-src/tools $projects
     
    8382
    8483function compile_demos() {
    85         for projects in ex_framework ex_kalman_framework; do
    86                 configure $FLAIR_ROOT/uav_ex $projects
    87                 compile $FLAIR_ROOT/uav_ex $projects
    88                 cross_compile $FLAIR_ROOT/uav_ex $projects
     84        for projects in Sinus; do
     85                configure $FLAIR_ROOT/flair-src/demos $projects
     86                compile $FLAIR_ROOT/flair-src/demos $projects
     87                cross_compile $FLAIR_ROOT/flair-src/demos $projects
    8988        done
    90        
     89exit 0 
    9190        for projects in ex_opencv; do
    9291                configure $FLAIR_ROOT/uav_ex $projects
     
    154153        compile_tools
    155154fi
     155
     156printf "Compile demos [Y/n]?"
     157read answer
     158
     159if [ "$answer" = "" ] || [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then
     160        compile_demos
     161fi
     162
    156163exit 0
    157164printf "Compile Flair documentation [Y/n]?"
     
    163170fi
    164171
    165 printf "Compile demos [Y/n]?"
    166 read answer
    167 
    168 if [ "$answer" = "" ] || [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then
    169         compile_examples
    170 fi
    171172
    172173exit 0
Note: See TracChangeset for help on using the changeset viewer.