Skip to content

Commit

Permalink
Use /bigobj in tests exe for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
fintarin committed Apr 28, 2024
1 parent 06e2382 commit 3a26a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ include(GoogleTest)
gtest_discover_tests(${PROJECT_NAME}_tests)

if(MSVC)
target_compile_options(${PROJECT_NAME}_tests PRIVATE /w)
target_compile_options(${PROJECT_NAME}_tests PRIVATE /w /bigobj)
else()
target_compile_options(${PROJECT_NAME}_tests PRIVATE -w)
endif()

0 comments on commit 3a26a01

Please sign in to comment.