Warning, /plasma/drkonqi/src/bugzillaintegration/libbugzilla/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
0002 
0003 include(ECMAddTests)
0004 include(GenerateExportHeader)
0005 
0006 find_package(Qt${QT_MAJOR_VERSION}Test ${REQUIRED_QT_VERSION} CONFIG REQUIRED)
0007 
0008 # Include src so we have access to config-kcrash.h
0009 include_directories(${CMAKE_CURRENT_BINARY_DIR}/..)
0010 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0011 
0012 ecm_add_tests(
0013     attachmenttest.cpp
0014     bugtest.cpp
0015     bugfieldtest.cpp
0016     bugzillatest.cpp
0017     commenttest.cpp
0018     connectiontest.cpp
0019     producttest.cpp
0020     LINK_LIBRARIES Qt::Core Qt::Test Qt::Network qbugzilla
0021 )
0022 
0023 ecm_mark_nongui_executable(bugzillatest)