Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/CMakeLists.txt
1 | add_subdirectory(helper) | 1 | add_subdirectory(helper) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | add_library(KWinIntegrationTestFramework STATIC ../../xwl/xwayland.cpp kwin_wayland_test.cpp test_helpers.cpp) | 3 | add_library(KWinIntegrationTestFramework STATIC kwin_wayland_test.cpp test_helpers.cpp ${kwin_XWAYLAND_SRCS}) | ||
4 | target_link_libraries(KWinIntegrationTestFramework kwin Qt5::Test) | 4 | target_link_libraries(KWinIntegrationTestFramework kwin Qt5::Test) | ||
5 | 5 | | |||
6 | function(integrationTest) | 6 | function(integrationTest) | ||
7 | set(optionArgs WAYLAND_ONLY) | 7 | set(optionArgs WAYLAND_ONLY) | ||
8 | set(oneValueArgs NAME) | 8 | set(oneValueArgs NAME) | ||
9 | set(multiValueArgs SRCS LIBS) | 9 | set(multiValueArgs SRCS LIBS) | ||
10 | cmake_parse_arguments(ARGS "${optionArgs}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) | 10 | cmake_parse_arguments(ARGS "${optionArgs}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) | ||
11 | add_executable(${ARGS_NAME} ${ARGS_SRCS}) | 11 | add_executable(${ARGS_NAME} ${ARGS_SRCS}) | ||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |