-
-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
32 lines (26 loc) · 660 Bytes
/
CMakeLists.txt
File metadata and controls
32 lines (26 loc) · 660 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
set(TARGET MethaneDataRangeSetTest)
add_executable(${TARGET}
RangeTest.cpp
RangeSetTest.cpp
)
target_link_libraries(${TARGET}
PRIVATE
MethaneDataRangeSet
MethaneBuildOptions
MethaneCommonPrecompiledHeaders
$<$<BOOL:${METHANE_TRACY_PROFILING_ENABLED}>:TracyClient>
Catch2WithMain
)
if(METHANE_PRECOMPILED_HEADERS_ENABLED)
target_precompile_headers(${TARGET} REUSE_FROM MethaneCommonPrecompiledHeaders)
endif()
set_target_properties(${TARGET}
PROPERTIES
FOLDER Tests
)
install(TARGETS ${TARGET}
RUNTIME
DESTINATION Tests
COMPONENT Test
)
include(CatchDiscoverAndRunTests)