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

add_subdirectory(graphics)

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

if (UNIX AND NOT EMSCRIPTEN)
	# TODO: Re-enable this!
	# add_subdirectory(graphics/cairo)
endif()

cru_catch_discover_tests(CruPlatformBaseTest)