Warning, /kdevelop/kdevelop/plugins/custom-buildsystem/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 remove_definitions(
0002     -DQT_NO_CAST_FROM_ASCII
0003     -DQT_NO_CAST_TO_ASCII
0004     -DQT_NO_CAST_FROM_BYTEARRAY
0005 )
0006 
0007 configure_file(testconfig.h.in testconfig.h)
0008 
0009 ecm_add_test(test_custombuildsystemplugin.cpp ${custom_LOG_SRCS}
0010     TEST_NAME test_custombuildsystemplugin
0011     LINK_LIBRARIES Qt5::Test KDev::Tests KDev::Project)
0012 
0013 # Small sample app loading a dialog with the config-ui and a dummy project
0014 # Useful for testing UI ideas quickly
0015 set( kcm_uitest_SRCS kcmuitestmain.cpp
0016                      ../custombuildsystemconfigwidget.cpp
0017                      ../configconstants.cpp
0018                      ../configwidget.cpp
0019                      ${custom_LOG_SRCS}
0020    )
0021 include_directories(
0022     ${CMAKE_CURRENT_SOURCE_DIR}/..
0023     ${CMAKE_CURRENT_BINARY_DIR}/..
0024 )
0025 ki18n_wrap_ui( kcm_uitest_SRCS
0026                         ../configwidget.ui
0027                         ../custombuildsystemconfigwidget.ui
0028                  )
0029 add_executable( kcm_uitest ${kcm_uitest_SRCS} )
0030 target_link_libraries( kcm_uitest KDev::Project KDev::Tests )