Changeset 24 in flair-dev for trunk/scripts
- Timestamp:
- Jun 22, 2016, 5:05:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/scripts/cmake_codeblocks.sh
r2 r24 19 19 20 20 #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 21 CMAKE=${OECORE_HOST_NATIVE_SYSROOT}/usr/bin/cmake 27 22 28 23 #verifie l'existence du lien symbolique build … … 48 43 rm -f CMakeCache.txt 49 44 rm -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} 51 46 # -DCMAKE_BUILD_TYPE=Release 52 47 … … 59 54 rm -rf CMakeFiles 60 55 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} 62 57 # -DCMAKE_BUILD_TYPE=Release
Note:
See TracChangeset
for help on using the changeset viewer.