aboutsummaryrefslogtreecommitdiff
path: root/test/platform/CMakeLists.txt
blob: 394aa2470166994972aae450e3ed46924e1c0e4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)
	# TODO: Re-enable this!
	# add_subdirectory(graphics/cairo)
endif()

cru_catch_discover_tests(CruPlatformBaseTest)