Updated tests
This commit is contained in:
parent
20bfb96171
commit
7a5d36f6ea
5 changed files with 57 additions and 31 deletions
|
|
@ -2,11 +2,13 @@ cmake_minimum_required(VERSION 3.19 FATAL_ERROR)
|
|||
|
||||
project(UnitTest CXX)
|
||||
|
||||
include(CTest)
|
||||
include(../external/catch2/extras/Catch.cmake)
|
||||
|
||||
add_executable(UnitTest adummy.cpp
|
||||
add_executable(UnitTest
|
||||
characteristics_tests.cpp
|
||||
billy_objects_tests.cpp
|
||||
sheet_tests.cpp
|
||||
)
|
||||
|
||||
set_target_properties(Catch2 UnitTest PROPERTIES
|
||||
|
|
@ -14,7 +16,7 @@ set_target_properties(Catch2 UnitTest PROPERTIES
|
|||
CXX_STANDARD_REQUIRED ON
|
||||
CXX_EXTENSIONS OFF
|
||||
INTERPROCEDURAL_OPTIMIZATION_RELEASE ON
|
||||
UNITY_BUILD ON
|
||||
# UNITY_BUILD ON
|
||||
)
|
||||
target_include_directories(UnitTest PRIVATE ${CMAKE_SOURCE_DIR}/include)
|
||||
target_compile_definitions(UnitTest PRIVATE ${DEF_COMP})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue