[Fix] Use /bigobj on both x86 and x64
This commit is contained in:
parent
30a7163fbf
commit
1ae35222da
1 changed files with 2 additions and 6 deletions
|
|
@ -27,6 +27,7 @@ INTERFACE
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
target_compile_options(common_options
|
target_compile_options(common_options
|
||||||
INTERFACE
|
INTERFACE
|
||||||
|
/bigobj # scheme.cpp and history_widget.cpp has too many sections.
|
||||||
/permissive-
|
/permissive-
|
||||||
# /Qspectre
|
# /Qspectre
|
||||||
/utf-8
|
/utf-8
|
||||||
|
|
@ -62,12 +63,7 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (build_win64)
|
if (NOT build_win64)
|
||||||
target_compile_options(common_options
|
|
||||||
INTERFACE
|
|
||||||
/bigobj # scheme.cpp has too many sections.
|
|
||||||
)
|
|
||||||
else()
|
|
||||||
# target_compile_options(common_options
|
# target_compile_options(common_options
|
||||||
# INTERFACE
|
# INTERFACE
|
||||||
# /fp:except # Crash-report fp exceptions in 32 bit build.
|
# /fp:except # Crash-report fp exceptions in 32 bit build.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue