Skip to content

Commit

Permalink
Add /bigobj to MSVC flags for unity build (#1166)
Browse files Browse the repository at this point in the history
  • Loading branch information
mthierman authored Aug 20, 2024
1 parent 8bde10b commit 0c82de9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/compiler-and-git.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ else ()

if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(OS_COMPILE_OPTIONS
/bigobj
/wd4244 # convert float from double
/wd4305 # truncate from double to float
/wd4018 # signed unsigned compare
Expand Down

0 comments on commit 0c82de9

Please sign in to comment.