-
-
Notifications
You must be signed in to change notification settings - Fork 119
Configure script for CMake (UNIX like OS)
Algiane Froehly edited this page Mar 9, 2018
·
1 revision
The following shell script can be used to build the project on UNIX-like OS. You just have to personalize the compilation flags and library paths.
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="-O3" \
-DCMAKE_C_FLAGS="-O3" \
-DUSE_SCOTCH=ON \
-DSCOTCH_INCLUDE_DIR="/usr/include/scotch/" \
-DSCOTCH_LIBRARY="libscotch-5.2.so" \
-DSCOTCHERR_LIBRARY="libscotcherr-5.2.so" \
#decomment this to have it verbose
# make VERBOSE=1 -j
make -j
sudo make install