Commit 14ad5a25 authored by Laurent Montel's avatar Laurent Montel
Browse files

Show headers in qtc6 here too

parent 84be68b3
Pipeline #215372 passed with stage
in 19 minutes and 26 seconds
......@@ -9,7 +9,7 @@ add_definitions(-DWINDOWSCONTACT_DATADIR=\"${CMAKE_CURRENT_SOURCE_DIR}\")
macro(add_windowscontact_unittest _source _additional)
set( _test ${_source} ${_additional} ${kaddressbook_importexport_windowscontact_debugfile_autotest_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test})
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(${_name})
......
......@@ -13,7 +13,7 @@ include_directories(${CMAKE_BINARY_DIR}/kaddressbook/)
macro( kaddressbook_merge _source _additional _additionallib)
set( _test ${_source} ${_additional})
get_filename_component( _name ${_source} NAME_WE )
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kaddressbookmerge-${_name})
target_link_libraries( ${_name} kaddressbookmergelibprivate Qt${QT_MAJOR_VERSION}::Test KF5::AkonadiCore KF5::Contacts ${_additionallib})
......
......@@ -3,7 +3,7 @@
macro(add_kmail_checkbeforedeleting_unittest _source)
set( _test ${_source} ${kmail_markdownplugin_debug_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_checkbeforedeleting-${_name})
......
......@@ -8,7 +8,7 @@ ecm_qt_declare_logging_category(kmail_markdownplugin_debug_SRCS HEADER markdownp
macro(add_kmail_converttext_unittest _source _additional)
set( _test ${_source} ${_additional} ${kmail_markdownplugin_debug_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_converttext-${_name})
......
......@@ -4,7 +4,7 @@
macro(add_kmail_externalcomposer_unittest _source _additional)
set( _test ${_source} ${_additional})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorinitplugin-${_name})
......
......@@ -4,7 +4,7 @@
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(changecaseplugineditor_common_SRCS HEADER change
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional} ${changecaseplugineditor_common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -4,7 +4,7 @@
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(kmail_insertshorturleditorplugin_autotest_SRCS H
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional} ${kmail_insertshorturleditorplugin_autotest_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
set(pimcommon_tinyplugin_SRCS
tinyurlengineplugin.cpp
tinyurlengineinterface.cpp
tinyurlengineplugin.h
tinyurlengineinterface.h
)
kcoreaddons_add_plugin(pimcommon_tinyurlengineplugin SOURCES
......
set(pimcommon_triopabshorturlengineplugin_SRCS
triopabshorturlengineplugin.cpp
triopabshorturlengineinterface.cpp
triopabshorturlengineplugin.h
triopabshorturlengineinterface.h
)
kcoreaddons_add_plugin(pimcommon_triopabshorturlengineplugin SOURCES
......
......@@ -3,7 +3,7 @@
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -4,7 +4,7 @@
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name})
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(sharetextplugineditor_common_SRCS HEADER sharete
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional} ${sharetextplugineditor_common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(zoomdebug_SRCS HEADER zoomtexteditorplugin_debug
macro(add_kmail_editorplugin_unittest _source _additional)
set( _test ${_source} ${_additional} ${zoomdebug_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -10,7 +10,7 @@ ecm_qt_declare_logging_category(automaticaddcontacts_common_SRCS HEADER automati
macro(add_kmail_automaticaddscontacts_unittest _source _additional)
set( _test ${_source} ${_additional} ${automaticaddcontacts_common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(checkbeforesend_common_SRCS HEADER checkbeforese
macro(add_kmail_checkbeforesend_unittest _source _additional)
set( _test ${_source} ${_additional} ${checkbeforesend_common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -7,7 +7,7 @@ ecm_qt_declare_logging_category(confirmaddressplugin_common_SRCS HEADER confirma
macro(add_kmail_confirmaddress_unittest _source _additional)
set( _test ${_source} ${_additional} ${confirmaddressplugin_common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_editorplugin-${_name})
......
......@@ -5,7 +5,7 @@ add_definitions( -DLANGUAGETOOL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data")
macro(add_kmail_languagetool_unittest _source)
set( _test ${_source})
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_executable( ${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(kmail_grammalecte-${_name})
......
......@@ -8,7 +8,7 @@ ecm_qt_declare_logging_category(common_SRCS HEADER createtodoplugin_debug.h IDEN
macro(add_kdepim_addons_viewerplugin_unittest _source _additional)
set( _test ${_source} ${_additional} ${common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_test}
ecm_add_test(${_test} ${_name}.h
TEST_NAME ${_name}
NAME_PREFIX "kdepim-addons-"
LINK_LIBRARIES KF5::MessageViewer KF5::Libkleo Qt${QT_MAJOR_VERSION}::Test KF5::KIOCore KF5::Mime KF5::AkonadiCore KF5::AkonadiNotes KF5::CalendarCore KF5::GrantleeTheme KF5::IncidenceEditor KF5::AkonadiWidgets KF5::XmlGui KF5::CalendarSupport
......@@ -21,7 +21,7 @@ macro(add_kdepim_addons_viewerplugin_class_unittest _source )
set( _test ${_source} ${common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_test}
ecm_add_test(${_test} ${_name}.h
TEST_NAME ${_name}
NAME_PREFIX "kdepim-addons-"
LINK_LIBRARIES KF5::MessageViewer KF5::Libkleo Qt${QT_MAJOR_VERSION}::Test KF5::KIOCore KF5::Mime KF5::AkonadiCore KF5::AkonadiNotes KF5::CalendarCore KF5::GrantleeTheme KF5::AkonadiWidgets KF5::CalendarSupport
......@@ -32,7 +32,7 @@ endmacro ()
macro(add_kdepim_addons_viewerplugin_widget_unittest _source _additional )
set( _test ${_source} ${_additional} ${common_SRCS})
get_filename_component(_name ${_source} NAME_WE)
ecm_add_test(${_test}
ecm_add_test(${_test} ${_name}.h
TEST_NAME ${_name}
NAME_PREFIX "kdepim-addons-"
LINK_LIBRARIES KF5::MessageViewer KF5::Libkleo Qt${QT_MAJOR_VERSION}::Test KF5::KIOCore KF5::Mime KF5::AkonadiCore KF5::AkonadiNotes KF5::CalendarCore KF5::GrantleeTheme KF5::IncidenceEditor KF5::AkonadiWidgets KF5::CalendarSupport)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment