Warning, /plasma/kscreenlocker/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 add_executable(kscreenlocker_test kscreenlocker_main.cpp)
0002 target_link_libraries(kscreenlocker_test KScreenLocker Qt::Gui KF6::I18n)
0003 ecm_mark_as_test(kscreenlocker_test)
0004 
0005 add_executable(powermanagement_test powermanagementtest.cpp ../greeter/powermanagement.cpp)
0006 target_compile_definitions(powermanagement_test PRIVATE -DQML_PATH="${CMAKE_CURRENT_SOURCE_DIR}/powermanagement.qml")
0007 target_link_libraries(powermanagement_test Qt::Gui Qt::DBus Qt::Quick)
0008 ecm_mark_as_test(powermanagement_test)
0009 
0010 add_executable(kcheckpass_test kcheckpass_test.cpp)
0011 target_compile_definitions(kcheckpass_test PRIVATE -DQML_FILE="${CMAKE_CURRENT_SOURCE_DIR}/kcheckpass_test.qml")
0012 target_link_libraries(kcheckpass_test kscreenlocker_authenticator KF6::CoreAddons Qt::Gui Qt::Quick)
0013 ecm_mark_as_test(kcheckpass_test)