Warning, /multimedia/amarok/tests/playlist/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 include_directories(
0002   ${AMAROK_TEST_TREE}
0003   ${AMAROK_SOURCE_TREE}
0004   ${AMAROK_UTILITY_TREE}
0005   ${CMAKE_BINARY_DIR}/src
0006   ${CMAKE_BINARY_DIR}/tests
0007   ${AMAROK_COLLECTION_SUPPORT_DIR}
0008 )
0009 
0010 include_directories(SYSTEM
0011   ${GOOGLEMOCK_INCLUDE_DIR}
0012   )
0013 
0014 #------------------------ Test CueFileSupport -----------------------------
0015 
0016 set( testplaylistmodels_SRCS
0017         TestPlaylistModels.cpp
0018         ${AMAROK_SOURCE_TREE}/EngineController.cpp
0019         ${AMAROK_SOURCE_TREE}/core/capabilities/BoundedPlaybackCapability.cpp
0020         ${AMAROK_SOURCE_TREE}/core/capabilities/MultiSourceCapability.cpp
0021         ${AMAROK_SOURCE_TREE}/playback/PowerManager.cpp
0022         ${AMAROK_SOURCE_TREE}/playlist/PlaylistDefines.cpp
0023         ${AMAROK_SOURCE_TREE}/playlist/PlaylistModel.cpp
0024         ${AMAROK_SOURCE_TREE}/playlist/PlaylistModelStack.cpp
0025         ${AMAROK_SOURCE_TREE}/playlist/proxymodels/ProxyBase.cpp
0026         ${AMAROK_SOURCE_TREE}/playlist/proxymodels/GroupingProxy.cpp
0027         ${AMAROK_SOURCE_TREE}/playlist/proxymodels/SearchProxy.cpp
0028         ${AMAROK_SOURCE_TREE}/playlist/proxymodels/SortAlgorithms.cpp
0029         ${AMAROK_SOURCE_TREE}/playlist/proxymodels/SortFilterProxy.cpp
0030         ${AMAROK_SOURCE_TREE}/playlist/proxymodels/SortScheme.cpp
0031         ${AMAROK_SOURCE_TREE}/core-impl/playlists/types/file/PlaylistFileSupport.cpp
0032         ${AMAROK_SOURCE_TREE}/playlist/PlaylistItem.cpp
0033         ${AMAROK_SOURCE_TREE}/core/support/Amarok.cpp
0034         ${GOOGLEMOCK_SRCS}
0035 )
0036 
0037 add_executable( testplaylistmodels ${testplaylistmodels_SRCS} )
0038 add_test(NAME testplaylistmodels COMMAND $<TARGET_FILE:testplaylistmodels>)
0039 ecm_mark_as_test(testplaylistmodels)
0040 
0041 add_dependencies( testplaylistmodels amaroklib )
0042 
0043 target_link_libraries( testplaylistmodels
0044     amarokcore
0045     amaroklib
0046     KF5::KIOCore
0047     Phonon::phonon4qt5
0048 
0049     Qt5::Test
0050     Qt5::Core
0051     ${GOOGLEMOCK_LIBRARIES}
0052     ${CMAKE_DL_LIBS}
0053 )