Changeset 26 in flair-dev for trunk/scripts
- Timestamp:
- Jul 1, 2016, 9:29:41 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/flair_compile_all.sh
r23 r26 65 65 } 66 66 67 function compile_ flair() {67 function compile_libs() { 68 68 for projects in FlairCore FlairSensorActuator FlairFilter FlairMeta FlairSimulator ; do 69 69 configure $FLAIR_ROOT/flair-src/lib $projects … … 71 71 cross_compile $FLAIR_ROOT/flair-src/lib $projects 72 72 done 73 74 if [ -d $FLAIR_ROOT/flair-hds ]; then 75 for projects in FlairArdrone2 VisionFilter; do 76 configure $FLAIR_ROOT/flair-hds/src/lib $projects 77 compile $FLAIR_ROOT/flair-hds/src/lib $projects 78 cross_compile $FLAIR_ROOT/flair-hds/src/lib $projects 79 done 80 fi 73 81 } 74 82 … … 83 91 function compile_uav_and_simulator_demo() { 84 92 for projects in simulator uav; do 85 configure $ FLAIR_ROOT/flair-src/demos/$1$projects86 compile $ FLAIR_ROOT/flair-src/demos/$1$projects87 cross_compile $ FLAIR_ROOT/flair-src/demos/$1$projects93 configure $1/$2 $projects 94 compile $1/$2 $projects 95 cross_compile $1/$2 $projects 88 96 done 89 97 } … … 97 105 98 106 for projects in CircleFollower SimpleFleet; do 99 compile_uav_and_simulator_demo $ projects107 compile_uav_and_simulator_demo $FLAIR_ROOT/flair-src/demos $projects 100 108 done 101 109 110 if [ -d $FLAIR_ROOT/flair-hds ]; then 111 for projects in OpticalFlow; do 112 compile_uav_and_simulator_demo $FLAIR_ROOT/flair-hds/src/demos $projects 113 done 114 fi 115 102 116 exit 0 103 for projects in ex_opencv; do 104 configure $FLAIR_ROOT/uav_ex $projects 105 compile $FLAIR_ROOT/uav_ex $projects 106 cross_compile $FLAIR_ROOT/uav_ex $projects 107 done 108 109 for projects in control simulator; do 110 configure $FLAIR_ROOT/uav_ex/ex_simulator_framework $projects 111 compile $FLAIR_ROOT/uav_ex/ex_simulator_framework $projects 112 cross_compile $FLAIR_ROOT/uav_ex/ex_simulator_framework $projects 113 done 114 115 for projects in simulator uav; do 116 configure $FLAIR_ROOT/uav_ex/demo_flotte_framework $projects 117 compile $FLAIR_ROOT/uav_ex/demo_flotte_framework $projects 118 cross_compile $FLAIR_ROOT/uav_ex/demo_flotte_framework $projects 119 done 117 120 118 121 119 for projects in uav; do … … 145 143 146 144 if [ "$answer" = "" ] || [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then 147 compile_ flair145 compile_libs 148 146 fi 149 147
Note:
See TracChangeset
for help on using the changeset viewer.