MeshKernel
MeshKernel copied to clipboard
Most of the steps to get a static Linux build working.
In scripts/compile_deps.sh there's a commented out section which compiles meshkernel, with a vim build/CMakeCache.txt.
In there I manually had to set:
OpenMP_CXX_FLAGS:STRING=-fopenmp -> OpenMP_CXX_FLAGS:STRING=-fopenmp -static
OpenMP_C_FLAGS:STRING=-fopenmp -> OpenMP_C_FLAGS:STRING=-fopenmp -static
OpenMP_gomp_LIBRARY:FILEPATH=/some/path/libgomp.so -> OpenMP_gomp_LIBRARY:FILEPATH=/some/path/libgomp.a
Profiling/coverage information is still in the Linux builds, should be nicely removed on a Release build.