Warning, /multimedia/amarok/tests/browsers/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories(
0002 ..
0003 ${AMAROK_SOURCE_TREE}
0004 ${CMAKE_BINARY_DIR}/src
0005 ${AMAROK_COLLECTION_SUPPORT_DIR}
0006 )
0007
0008 include_directories(SYSTEM
0009 ${GOOGLEMOCK_INCLUDE_DIR}
0010 )
0011
0012 #------------------------ TestMasterSlaveSynchronizationJob -----------------------------
0013
0014 set( testsinglecollectiontreeitemmodel_SRCS
0015 TestSingleCollectionTreeItemModel.cpp
0016 ${GOOGLEMOCK_SRCS}
0017 )
0018
0019 add_executable( testsinglecollectiontreeitemmodel ${testsinglecollectiontreeitemmodel_SRCS} )
0020 add_test(NAME testsinglecollectiontreeitemmodel COMMAND $<TARGET_FILE:testsinglecollectiontreeitemmodel>)
0021 ecm_mark_as_test(testsinglecollectiontreeitemmodel)
0022
0023 add_dependencies( testsinglecollectiontreeitemmodel amarokcore )
0024 add_dependencies( testsinglecollectiontreeitemmodel amaroklib )
0025
0026 target_link_libraries(testsinglecollectiontreeitemmodel
0027 amarokcore
0028 amaroklib
0029
0030 Qt5::Gui
0031 KF5::ThreadWeaver
0032 Qt5::Test
0033 Qt5::Core
0034 ${GOOGLEMOCK_LIBRARIES})