Changeset 23 in flair-dev for trunk/scripts/flair_compile_all.sh


Ignore:
Timestamp:
Jun 22, 2016, 11:08:05 AM (5 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/flair_compile_all.sh

    r15 r23  
    8181}
    8282
     83function compile_uav_and_simulator_demo() {
     84        for projects in simulator uav; do
     85                configure $FLAIR_ROOT/flair-src/demos/$1 $projects
     86                compile $FLAIR_ROOT/flair-src/demos/$1 $projects
     87                cross_compile $FLAIR_ROOT/flair-src/demos/$1 $projects
     88        done
     89}
     90
    8391function compile_demos() {
    8492        for projects in Sinus; do
     
    8896        done
    8997
    90         for projects in simulator uav; do
    91                 configure $FLAIR_ROOT/flair-src/demos/CircleFollower $projects
    92                 compile $FLAIR_ROOT/flair-src/demos/CircleFollower $projects
    93                 cross_compile $FLAIR_ROOT/flair-src/demos/CircleFollower $projects
     98        for projects in CircleFollower SimpleFleet; do
     99                compile_uav_and_simulator_demo $projects
    94100        done
    95101
     
    105111                compile $FLAIR_ROOT/uav_ex/ex_simulator_framework $projects
    106112                cross_compile $FLAIR_ROOT/uav_ex/ex_simulator_framework $projects
    107         done
    108 
    109         for projects in simulator uav; do
    110                 configure $FLAIR_ROOT/uav_ex/demo_fo_framework $projects
    111                 compile $FLAIR_ROOT/uav_ex/demo_fo_framework $projects
    112                 cross_compile $FLAIR_ROOT/uav_ex/demo_fo_framework $projects
    113113        done
    114114
     
    152152
    153153if [ "$answer" = "" ] || [ "$answer" = "y" ] || [ "$answer" = "Y" ]; then
    154         doxygen $FLAIR_ROOT/flair-src/lib/Doxyfile.in
     154        $OECORE_HOST_NATIVE_SYSROOT/usr/bin/doxygen $FLAIR_ROOT/flair-src/lib/Doxyfile.in
    155155fi
    156156
Note: See TracChangeset for help on using the changeset viewer.