mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
18 lines
438 B
CMake
18 lines
438 B
CMake
macro(add_conf_unittest _source)
|
|
set(_test ${_source} ../editdrawingtooldialog.cpp)
|
|
get_filename_component(_name ${_source} NAME_WE)
|
|
add_executable( ${_name} ${_test} )
|
|
add_test( ${_name} ${_name} )
|
|
ecm_mark_as_test(${_name})
|
|
target_link_libraries( ${_name}
|
|
Qt5::Test
|
|
Qt5::Widgets
|
|
Qt5::Xml
|
|
KF5::I18n
|
|
KF5::Completion
|
|
KF5::WidgetsAddons
|
|
)
|
|
endmacro ()
|
|
|
|
add_conf_unittest(editdrawingtooldialogtest.cpp)
|
|
|