Changeset 24 in flair-dev for trunk


Ignore:
Timestamp:
Jun 22, 2016, 5:05:15 PM (9 years ago)
Author:
Sanahuja Guillaume
Message:

m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/cmake_codeblocks.sh

    r2 r24  
    1919
    2020#get cmake
    21 #if [ -f  ${OECORE_NATIVE_SYSROOT}/usr/bin/cmake ]; then
    22 #       CMAKE_NATIVE=${OECORE_NATIVE_SYSROOT}/usr/bin/cmake
    23 #else
    24 #       err "cross toolchain is not installed, please read https://devel.hds.utc.fr/projects/igep/wiki/toolchain/install"
    25         CMAKE_NATIVE=cmake
    26 #fi
     21CMAKE=${OECORE_HOST_NATIVE_SYSROOT}/usr/bin/cmake
    2722
    2823#verifie l'existence du lien symbolique build
     
    4843rm -f CMakeCache.txt
    4944rm -rf CMakeFiles
    50 cmake ../ -G "CodeBlocks - Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=${OECORE_CMAKE_HOST_TOOLCHAIN}
     45${CMAKE} ../ -G "CodeBlocks - Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=${OECORE_CMAKE_HOST_TOOLCHAIN}
    5146# -DCMAKE_BUILD_TYPE=Release
    5247
     
    5954rm -rf CMakeFiles
    6055
    61 $CMAKE_NATIVE ../ -G "CodeBlocks - Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=${OECORE_CMAKE_CROSS_TOOLCHAIN}
     56${CMAKE} ../ -G "CodeBlocks - Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=${OECORE_CMAKE_CROSS_TOOLCHAIN}
    6257# -DCMAKE_BUILD_TYPE=Release
Note: See TracChangeset for help on using the changeset viewer.