Warning, /frameworks/syndication/autotests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
0002 
0003 include(ECMMarkAsTest)
0004 
0005 find_package(Qt${QT_MAJOR_VERSION}Test CONFIG REQUIRED)
0006 
0007 ########### next target ###############
0008 
0009 add_executable(testlibsyndication testlibsyndication.cpp)
0010 target_link_libraries(testlibsyndication KF5Syndication)
0011 
0012 ########### next target ###############
0013 
0014 add_executable(testpersonimpl testpersonimpl.cpp)
0015 add_test(NAME testpersonimpl COMMAND testpersonimpl)
0016 ecm_mark_as_test(testpersonimpl)
0017 target_link_libraries(testpersonimpl KF5Syndication Qt${QT_MAJOR_VERSION}::Test)
0018 
0019 #########
0020 add_executable(syndicationtest syndicationtest.cpp)
0021 target_compile_definitions(syndicationtest PRIVATE -DSYNDICATION_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}")
0022 add_test(NAME syndicationtest COMMAND syndicationtest)
0023 ecm_mark_as_test(syndicationtest)
0024 target_link_libraries(syndicationtest KF5Syndication Qt${QT_MAJOR_VERSION}::Test)
0025 
0026 #########
0027 add_executable(loaderutiltest loaderutiltest.cpp)
0028 target_compile_definitions(loaderutiltest PRIVATE -DSYNDICATION_DATA_FEEDPARSING_DIR="${CMAKE_CURRENT_SOURCE_DIR}/feeds/")
0029 add_test(NAME loaderutiltest COMMAND loaderutiltest)
0030 ecm_mark_as_test(loaderutiltest)
0031 target_link_libraries(loaderutiltest KF5Syndication Qt${QT_MAJOR_VERSION}::Test)