User /bigobj flag on Windows builds

This commit is contained in:
Matthias Hochsteger 2019-08-28 09:41:42 -07:00
parent 14ce523070
commit 8acc8c9cb0

View File

@ -24,6 +24,10 @@ if(NOT WIN32)
target_compile_options(ngcore PRIVATE -fvisibility=hidden)
endif(NOT WIN32)
if(WIN32)
target_compile_options(ngcore PUBLIC /bigobj)
endif(WIN32)
target_compile_definitions(ngcore PUBLIC $<$<CONFIG:DEBUG>:NETGEN_ENABLE_CHECK_RANGE>)
if(CHECK_RANGE)