aboutsummaryrefslogtreecommitdiff
path: root/test/win/graphics/direct/CMakeLists.txt
blob: c68f14c52019ea8f01ddf68c5b3e0f9ca922e0a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
add_executable(cru_win_graphics_direct_test
	ConvertTest.cpp
)
target_link_libraries(cru_win_graphics_direct_test PRIVATE cru_win_graphics_direct cru_test_base)

if (WIN32)
	add_custom_command(TARGET cru_win_graphics_direct_test POST_BUILD
	COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:cru_win_graphics_direct_test> $<TARGET_FILE_DIR:cru_win_graphics_direct_test>
	COMMAND_EXPAND_LISTS
	)
endif()

gtest_discover_tests(cru_win_graphics_direct_test)