aboutsummaryrefslogtreecommitdiff
path: root/test/platform/CMakeLists.txt
blob: e4237cd3afac9e62327a795e6c668cc5e7a35c86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
add_executable(CruPlatformBaseTest
	ColorTest.cpp
	MatrixTest.cpp
)
target_link_libraries(CruPlatformBaseTest PRIVATE CruPlatformBase CruTestBase)

if (WIN32)
	add_subdirectory(graphics/direct2d)
endif()

if (UNIX AND NOT APPLE AND NOT EMSCRIPTEN)
	add_subdirectory(graphics/cairo)
endif()

cru_catch_discover_tests(CruPlatformBaseTest)