aboutsummaryrefslogtreecommitdiff
path: root/test/platform/CMakeLists.txt
blob: 6a26214b59662cfe4c67fc9216ccebed00b58bb3 (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 EMSCRIPTEN)
    add_subdirectory(graphics/cairo)
endif()

catch_discover_tests(CruPlatformBaseTest)