Enable unity build
This commit is contained in:
parent
166fa6007a
commit
92575d7d08
@ -14,7 +14,7 @@ set_target_properties(Catch2 UnitTest PROPERTIES
|
|||||||
CXX_STANDARD_REQUIRED ON
|
CXX_STANDARD_REQUIRED ON
|
||||||
CXX_EXTENSIONS OFF
|
CXX_EXTENSIONS OFF
|
||||||
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
|
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
|
||||||
# UNITY_BUILD ON
|
UNITY_BUILD ON
|
||||||
)
|
)
|
||||||
target_include_directories(UnitTest PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
target_include_directories(UnitTest PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
||||||
target_compile_definitions(UnitTest PRIVATE ${DEF_COMP})
|
target_compile_definitions(UnitTest PRIVATE ${DEF_COMP})
|
||||||
|
Loading…
Reference in New Issue
Block a user