Precompiled headers on Visual Studio & GCC, with the highest hopes

that it will not break the build server.
This commit is contained in:
bubnikv 2018-10-29 16:01:26 +01:00
parent 35d984b812
commit 5377304b0c
8 changed files with 652 additions and 119 deletions

View file

@ -32,7 +32,8 @@ if (MSVC)
add_compile_options(/MP)
endif ()
# /bigobj (Increase Number of Sections in .Obj file)
add_compile_options(-bigobj)
# error C3859: virtual memory range for PCH exceeded; please recompile with a command line option of '-Zm90' or greater
add_compile_options(-bigobj -Zm316)
endif ()
# CMAKE_PREFIX_PATH is used to point CMake to the remaining dependencies (Boost, TBB, ...)