mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
9 lines
384 B
CMake
9 lines
384 B
CMake
function (qs_test name)
|
|
add_executable(${name} ${ARGN})
|
|
target_link_libraries(${name} PRIVATE Qt::Quick Qt::Test quickshell-core quickshell-window)
|
|
add_test(NAME ${name} WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" COMMAND $<TARGET_FILE:${name}>)
|
|
endfunction()
|
|
|
|
qs_test(transformwatcher transformwatcher.cpp)
|
|
qs_test(ringbuffer ringbuf.cpp)
|
|
qs_test(scriptmodel scriptmodel.cpp)
|