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

0001 
0002 include(ECMMarkAsTest)
0003 
0004 ########### next target ###############
0005 
0006 # FIXME: Build fails
0007 add_executable(testread testread.cpp)
0008 target_link_libraries(testread KF5Contacts KF5::I18n Qt${QT_MAJOR_VERSION}::Gui)
0009 
0010 ########### next target ###############
0011 
0012 # FIXME: Build fails
0013 add_executable(testwrite testwrite.cpp)
0014 target_link_libraries(testwrite KF5Contacts Qt${QT_MAJOR_VERSION}::Gui KF5::I18n)
0015 
0016 ########### next target ###############
0017 
0018 add_executable(testread2 testread2.cpp testutils.cpp)
0019 target_link_libraries(testread2 KF5Contacts Qt${QT_MAJOR_VERSION}::Gui)
0020 
0021 if (TARGET Qt${QT_MAJOR_VERSION}::Quick)
0022     add_executable(qmlintegrationtest
0023         qmlintegrationtest.cpp
0024         qmlintegrationtest.qrc
0025     )
0026     target_link_libraries(qmlintegrationtest PRIVATE KF5::Contacts Qt${QT_MAJOR_VERSION}::Quick)
0027 endif()