Changes between Version 12 and Version 13 of compile_all


Ignore:
Timestamp:
Feb 25, 2019, 5:35:36 PM (2 years ago)
Author:
Sanahuja Guillaume
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • compile_all

    v12 v13  
    99== Helper scripts ==
    1010
    11 Some scripts are provided to help configuration and compilation of projects. Using it you can compile everything easily. They are included in flair-dev repository.
     11Some scripts are provided to help configuration and compilation of projects. Using it you can compile everything easily. They are included in flair-src repository.
    1212
    13 * [source:flair-dev/trunk/scripts/cmake_codelite_outofsource.sh cmake_codelite_outofsource.sh]: configure a project for !CodeLite for all available toolchains
    14 * [source:flair-dev/trunk/scripts/flair_compile_all.sh flair_compile_all.sh]: compile libs, tools and demos with all available toolchains. It calls ''cmake_codelite_outofsource.sh'' to configure projects.
     13* [source:flair-src/trunk/scripts/cmake_codelite_outofsource.sh cmake_codelite_outofsource.sh]: configure a project for !CodeLite for all available toolchains
     14* [source:flair-src/trunk/scripts/flair_compile_all.sh flair_compile_all.sh]: compile libs, tools and demos with all available toolchains. It calls ''cmake_codelite_outofsource.sh'' to configure projects.
    1515
    1616== CMake & !CodeLite==
     
    2222== CMake tricks ==
    2323
    24 All CMakeLists in flair use custom modules located in [source:flair-dev/trunk/cmake-modules flair-dev]. The 2 principal ones are:
     24All CMakeLists in flair use custom modules located in [source:flair-src/trunk/cmake-modules flair-src]. The 2 principal ones are:
    2525
    26 * [source:flair-dev/trunk/cmake-modules/GlobalCmakeFlair.cmake GlobalCmakeFlair.cmake]: reimplements some cmake built in functions
     26* [source:flair-src/trunk/cmake-modules/GlobalCmakeFlair.cmake GlobalCmakeFlair.cmake]: reimplements some cmake built in functions
    2727
    28 * [source:flair-dev/trunk/cmake-modules/FlairUseFile.cmake FlairUseFile.cmake]: used by demos/tools, it helps adding include dirs and libraries for programs using flair
     28* [source:flair-src/trunk/cmake-modules/FlairUseFile.cmake FlairUseFile.cmake]: used by demos/tools, it helps adding include dirs and libraries for programs using flair
    2929
    3030A better explanation on how to use these modules can be found [wiki:cmake_modules here].
     
    5050To compile all Fl-AIR stuffs, you can execute the dedicated script:
    5151{{{
    52 $ $FLAIR_ROOT/flair-dev/scripts/flair_compile_all.sh
     52$ $FLAIR_ROOT/flair-src/scripts/flair_compile_all.sh
    5353}}}
    5454
     
    5858
    5959Results are the following:
    60 * flair libs headers installed in ''$FLAIR_ROOT/flair-dev/include''
    61 * flair libs binaries installed in ''$FLAIR_ROOT/flair-bin/lib''
    62 * flair tools binaries installed in ''$FLAIR_ROOT/flair-bin/tools/core2-64'' (but launching scripts are in ''$FLAIR_ROOT/flair-bin/tools/scripts'')
    63 * flair demos binaries installed in ''$FLAIR_ROOT/flair-bin/demos''
     60* flair libs headers installed in ''$FLAIR_ROOT/flair-install/include''
     61* flair libs binaries installed in ''$FLAIR_ROOT/flair-install/lib''
     62* flair tools binaries installed in ''$FLAIR_ROOT/flair-install/tools/core2-64'' (but launching scripts are in ''$FLAIR_ROOT/flair-bin/tools/scripts'')
     63* flair demos binaries installed in ''$FLAIR_ROOT/flair-install/demos''
    6464
    6565For Heudiasyc users, additional stuffs are also installed:
    66 * flair hds libs headers installed in ''$FLAIR_ROOT/flair-hds/dev/include''
    67 * flair hds libs binaries installed in ''$FLAIR_ROOT/flair-hds/bin/lib''
    68 * flair hds demos binaries installed in ''$FLAIR_ROOT/flair-bin/demos''
     66* flair hds libs headers installed in ''$FLAIR_ROOT/flair-install/include''
     67* flair hds libs binaries installed in ''$FLAIR_ROOT/flair-install/lib''
     68* flair hds demos binaries installed in ''$FLAIR_ROOT/flair-install/demos''
    6969
    7070
     
    109109$ mkdir -p $FLAIR_ROOT/flair-build/<mywork>/<myproject>
    110110$ cd $FLAIR_ROOT/flair-build/<mywork>/<myproject>
    111 $ $FLAIR_ROOT/flair-dev/scripts/cmake_codelite_outofsource.sh $FLAIR_ROOT/<path_to_my_project>
     111$ $FLAIR_ROOT/flair-src/scripts/cmake_codelite_outofsource.sh $FLAIR_ROOT/<path_to_my_project>
    112112$ cd build
    113113$ make install