mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00

missing proper configuration interface for the shortcuts, the old one was borked anyway Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
69 lines
1.8 KiB
CMake
69 lines
1.8 KiB
CMake
include_directories( ${KDE4_KDEUI_INCLUDES} )
|
|
|
|
MACRO(KDEUI_UNIT_TESTS)
|
|
FOREACH(_testname ${ARGN})
|
|
if(EXISTS ${_testname}.h)
|
|
kde4_add_test(kdeui-${_testname} ${_testname}.cpp ${_testname}.h)
|
|
else()
|
|
kde4_add_test(kdeui-${_testname} ${_testname}.cpp)
|
|
endif()
|
|
target_link_libraries(kdeui-${_testname}
|
|
${QT_QTTEST_LIBRARY}
|
|
${QT_QTXML_LIBRARY}
|
|
kdeui
|
|
)
|
|
ENDFOREACH(_testname)
|
|
ENDMACRO(KDEUI_UNIT_TESTS)
|
|
MACRO(KDEUI_EXECUTABLE_TESTS)
|
|
FOREACH(_testname ${ARGN})
|
|
if(EXISTS ${_testname}.h)
|
|
kde4_add_manual_test(kdeui-${_testname} ${_testname}.cpp ${_testname}.h)
|
|
else()
|
|
kde4_add_manual_test(kdeui-${_testname} ${_testname}.cpp)
|
|
endif()
|
|
target_link_libraries(kdeui-${_testname}
|
|
${QT_QTTEST_LIBRARY}
|
|
${QT_QTXML_LIBRARY}
|
|
kdeui
|
|
)
|
|
ENDFOREACH(_testname)
|
|
ENDMACRO(KDEUI_EXECUTABLE_TESTS)
|
|
|
|
KDEUI_UNIT_TESTS(
|
|
kactioncollectiontest
|
|
kbuttongrouptest
|
|
kcompletioncoretest
|
|
kconfigskeletontest
|
|
kdualactiontest
|
|
kfindtest
|
|
kglobalsettingstest
|
|
kmainwindow_unittest
|
|
klineedit_unittest
|
|
kcombobox_unittest
|
|
kdialog_unittest
|
|
kreplacetest
|
|
kstandardshortcuttest
|
|
kuniqueapptest
|
|
kstartupinfo_unittest
|
|
kcolorutilstest
|
|
kxmlgui_unittest
|
|
kiconloader_unittest
|
|
ktabwidget_unittest
|
|
ktoolbar_unittest
|
|
kselectaction_unittest
|
|
klistwidgetsearchlinetest
|
|
kconfigdialog_unittest
|
|
klinkitemselectionmodeltest
|
|
kstandardactiontest
|
|
ktextedit_unittest
|
|
kactioncategorytest
|
|
kapplication_unittest
|
|
kconfigguitest
|
|
)
|
|
|
|
KDEUI_EXECUTABLE_TESTS(
|
|
kglobalsettingsclient # helper program for kglobalsettingstest
|
|
kwindowtest
|
|
fixx11h_test
|
|
fixx11h_test2
|
|
)
|