Make /bigobj a public build flag again

This commit is contained in:
Matthias Hochsteger 2024-03-28 09:51:36 +01:00
parent ea380ecb47
commit db500f3cae

View File

@ -53,7 +53,7 @@ if(USE_PYTHON)
endif(USE_PYTHON) endif(USE_PYTHON)
if(WIN32) if(WIN32)
target_compile_options(ngcore PUBLIC $<BUILD_INTERFACE:/bigobj;/MP;/W1;/wd4068>) target_compile_options(ngcore PUBLIC /bigobj $<BUILD_INTERFACE:/MP;/W1;/wd4068>)
get_WIN32_WINNT(ver) get_WIN32_WINNT(ver)
target_compile_definitions(ngcore PUBLIC _WIN32_WINNT=${ver} WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32) target_compile_definitions(ngcore PUBLIC _WIN32_WINNT=${ver} WNT WNT_WINDOW NOMINMAX MSVC_EXPRESS _CRT_SECURE_NO_WARNINGS HAVE_STRUCT_TIMESPEC WIN32)
target_link_options(ngcore PUBLIC /ignore:4273 /ignore:4217 /ignore:4049) target_link_options(ngcore PUBLIC /ignore:4273 /ignore:4217 /ignore:4049)