Skip to content

Configure script for CMake (Windows OS)

Algiane Froehly edited this page Mar 9, 2018 · 2 revisions

The following bash script can be used to build the project on Windows OS. You just have to personalize the compilation flags and library paths.

configure.bat

del CMakeCache.txt

cls

cmake -G "Visual Studio 15 2017 Win64"      ^
-DCMAKE_BUILD_TYPE=Release                  ^
-DCMAKE_CXX_FLAGS="-O3"                     ^
-DCMAKE_C_FLAGS="-O3"                       ^
-DUSE_SCOTCH=OFF                            ^
..