Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 592 Bytes
echo ---- CMake toolchain -----
echo cache files are deleted for safety
rm CMakeCache.txt
rm cmake_install.cmake
rm -Rf CMakeFiles
# Uncomment just one of the sentence below in order to select toolchain
cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain-clang.cmake . # linux CLang c++ compiler
#cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain-gnu.cmake . # linux GNU c++ compiler
#cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain-emscripten.cmake . # javascript code (asm.js)
#cmake -DCMAKE_TOOLCHAIN_FILE=./toolchain-win64.cmake . # windows libs and exe
You can’t perform that action at this time.