Warning, /plasma/kwin/autotests/libkwineffects/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include(ECMMarkAsTest)
0002
0003 macro(KWINEFFECTS_UNIT_TESTS)
0004 foreach(_testname ${ARGN})
0005 add_executable(${_testname} ${_testname}.cpp)
0006 add_test(NAME kwineffects-${_testname} COMMAND ${_testname})
0007 target_link_libraries(${_testname} Qt::Test kwineffects)
0008 ecm_mark_as_test(${_testname})
0009 endforeach()
0010 endmacro()
0011
0012 kwineffects_unit_tests(
0013 windowquadlisttest
0014 timelinetest
0015 )
0016
0017 add_executable(kwinglplatformtest kwinglplatformtest.cpp mock_gl.cpp ../../src/libkwineffects/kwinglplatform.cpp)
0018 add_test(NAME kwineffects-kwinglplatformtest COMMAND kwinglplatformtest)
0019 target_link_libraries(kwinglplatformtest Qt::Test Qt::Gui KF5::ConfigCore XCB::XCB)
0020 if (QT_MAJOR_VERSION EQUAL "5")
0021 target_link_libraries(kwinglplatformtest Qt::X11Extras)
0022 endif()
0023 ecm_mark_as_test(kwinglplatformtest)