stuff-from-scratch/test/ui_controls/CMakeLists.txt

11 lines
391 B
CMake
Raw Normal View History

2023-01-18 13:29:31 +00:00
set(MODULE_NAME ui_controls)
list(APPEND UNIT_TEST_FILES
TestButton.cpp
)
set(UNIT_TEST_TARGET_NAME ${MODULE_NAME}_unit_tests)
add_executable(${UNIT_TEST_TARGET_NAME} ${CMAKE_SOURCE_DIR}/test/test_runner.cpp ${UNIT_TEST_FILES})
target_link_libraries(${UNIT_TEST_TARGET_NAME} PUBLIC test_utils ui_controls)
set_property(TARGET ${UNIT_TEST_TARGET_NAME} PROPERTY FOLDER test/${MODULE_NAME})