Skip to content
Snippets Groups Projects
Commit 8a669993 authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Added /bigobj for unit tests on Windows

parent 2b33c68d
No related branches found
No related tags found
2 merge requests!166Update 0.5.0 -> 0.6.0,!136Add selection mechanism in graph
Pipeline #65858 passed
...@@ -25,6 +25,10 @@ target_link_libraries(tests${module_name} PRIVATE ${module_name}) ...@@ -25,6 +25,10 @@ target_link_libraries(tests${module_name} PRIVATE ${module_name})
target_link_libraries(tests${module_name} PRIVATE Catch2::Catch2WithMain) target_link_libraries(tests${module_name} PRIVATE Catch2::Catch2WithMain)
target_compile_options(tests${module_name} PRIVATE
$<$<CXX_COMPILER_ID:MSVC>:
/bigobj>)
list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras) list(APPEND CMAKE_MODULE_PATH ${catch2_SOURCE_DIR}/extras)
include(CTest) include(CTest)
include(Catch) include(Catch)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment