Warning, /frameworks/kactivities-stats/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 # vim:set softtabstop=3 shiftwidth=3 tabstop=3 expandtab: 0002 project (KActivitiesStatsAutotests) 0003 0004 find_package (Qt${QT_MAJOR_VERSION} REQUIRED NO_MODULE COMPONENTS Test Core DBus Sql) 0005 0006 include_directories ( 0007 ${KASTATS_CURRENT_ROOT_SOURCE_DIR}/src 0008 ${KASTATS_CURRENT_ROOT_SOURCE_DIR}/autotests 0009 ${CMAKE_BINARY_DIR}/src 0010 ) 0011 0012 set ( 0013 KActivitiesStatsTest_SRCS 0014 main.cpp 0015 QueryTest.cpp 0016 ResultSetTest.cpp 0017 ResultSetQuickCheckTest.cpp 0018 ResultWatcherTest.cpp 0019 0020 # Generated by macro ecm_qt_declare_logging_category in src/CMakeLists.txt 0021 ${CMAKE_BINARY_DIR}/src/kactivities-stats-logsettings.cpp 0022 0023 ${KASTATS_CURRENT_ROOT_SOURCE_DIR}/src/utils/qsqlquery_iterator.cpp 0024 ${KASTATS_CURRENT_ROOT_SOURCE_DIR}/src/common/database/Database.cpp 0025 ${KASTATS_CURRENT_ROOT_SOURCE_DIR}/src/common/database/schema/ResourcesDatabaseSchema.cpp 0026 ${KASTATS_CURRENT_ROOT_SOURCE_DIR}/autotests/common/test.cpp 0027 ) 0028 0029 if (NOT WIN32) 0030 0031 add_executable ( 0032 KActivitiesStatsTest 0033 ${KActivitiesStatsTest_SRCS} 0034 ) 0035 0036 target_link_libraries ( 0037 KActivitiesStatsTest 0038 Boost::boost 0039 0040 Qt${QT_MAJOR_VERSION}::Core 0041 Qt${QT_MAJOR_VERSION}::Test 0042 Qt${QT_MAJOR_VERSION}::DBus 0043 Qt${QT_MAJOR_VERSION}::Sql 0044 0045 KF5::Activities 0046 KF5::ActivitiesStats 0047 ) 0048 0049 endif ()