aboutsummaryrefslogtreecommitdiff
path: root/test/common/CMakeLists.txt
blob: f2fda47d770029456c0418011a0b7ce4dab9cc53 (plain)
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
add_executable(CruBaseTest
	Event2Test.cpp
	HandlerRegistryTest.cpp
	PropertyTreeTest.cpp
	SelfResolvableTest.cpp
	StringTest.cpp
	StringToNumberConverterTest.cpp
	StringUtilTest.cpp
)
target_link_libraries(CruBaseTest PRIVATE CruBase CruTestBase)

if (UNIX AND NOT EMSCRIPTEN)
	target_sources(CruBaseTest PRIVATE
		platform/unix/UnixFileStreamTest.cpp
	)
endif()

if (WIN32)
	target_sources(CruBaseTest PRIVATE
		platform/win/StreamConvertTest.cpp
		platform/win/Win32FileStreamTest.cpp
	)
endif()

cru_catch_discover_tests(CruBaseTest)