netgen/tests/build_debug.sh
2022-02-16 14:57:29 +01:00

16 lines
333 B
Bash
Executable File

cd
mkdir -p build/netgen
cd build/netgen
cmake \
-DCMAKE_CXX_FLAGS="-Og -Wall -Wno-sign-compare -DDebug" \
-DUSE_CCACHE=ON \
-DCMAKE_BUILD_TYPE=DEBUG \
-DENABLE_UNIT_TESTS=ON \
-DUSE_OCC=ON \
-DCHECK_RANGE=ON \
-DUSE_CGNS=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
../../src/netgen
make -j12
make install