mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-26 20:03:10 +00:00
29 lines
1.1 KiB
CMake
29 lines
1.1 KiB
CMake
set( custombuildsystemplugintest_SRCS
|
|
custombuildsystemplugintest.cpp
|
|
../debugarea.cpp
|
|
)
|
|
|
|
configure_file(testconfig.h.in testconfig.h)
|
|
|
|
kde4_add_unit_test( custombuildsystemplugintest ${custombuildsystemplugintest_SRCS} )
|
|
target_link_libraries( custombuildsystemplugintest
|
|
${QT_QTTEST_LIBRARY}
|
|
${KDEVPLATFORM_TESTS_LIBRARIES}
|
|
${KDEVPLATFORM_PROJECT_LIBRARIES}
|
|
)
|
|
|
|
|
|
# Small sample app loading a dialog with the config-ui and a dummy project
|
|
# Useful for testing UI ideas quickly
|
|
set( kcm_uitest_SRCS kcmuitestmain.cpp
|
|
../custombuildsystemconfigwidget.cpp
|
|
../configwidget.cpp
|
|
../debugarea.cpp
|
|
)
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../)
|
|
kde4_add_ui_files( kcm_uitest_SRCS
|
|
../configwidget.ui
|
|
../custombuildsystemconfigwidget.ui
|
|
)
|
|
add_executable( kcm_uitest ${kcm_uitest_SRCS} )
|
|
target_link_libraries( kcm_uitest ${KDE4_KDEUI_LIBS} ${KDEVPLATFORM_PROJECT_LIBRARIES} ${KDEVPLATFORM_TESTS_LIBRARIES} )
|