Warning, /pim/kube/framework/src/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include_directories(
0002     ${CMAKE_CURRENT_BINARY_DIR}
0003     ${CMAKE_CURRENT_SOURCE_DIR}/..
0004 )
0005 
0006 find_package(Qt5 REQUIRED NO_MODULE COMPONENTS Core Test Gui)
0007 
0008 macro(auto_tests)
0009     foreach(_testname ${ARGN})
0010         add_executable(${_testname} ${_testname}.cpp)
0011         add_test(${_testname} ${_testname})
0012         target_link_libraries(${_testname}
0013             Qt5::Core
0014             Qt5::Test
0015             Qt5::Gui
0016             kubeframework
0017         )
0018     endforeach(_testname)
0019 endmacro(auto_tests)
0020 
0021 auto_tests(
0022     folderlistmodeltest
0023     maillistmodeltest
0024     eventoccurrencemodeltest
0025     entitymodeltest
0026     entitycontrollertest
0027     invitationcontrollertest
0028     partmodeltest
0029     inboundmodeltest
0030 )