Warning, /multimedia/amarok/tests/core-impl/collections/aggregate/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 #------------------------------- TestAggregateMeta -------------------------------
0015 
0016 add_executable( testaggregatemeta
0017                         TestAggregateMeta.cpp
0018                         ${GOOGLEMOCK_SRCS}
0019                   )
0020 add_test(NAME testaggregatemeta COMMAND $<TARGET_FILE:testaggregatemeta>)
0021 ecm_mark_as_test(testaggregatemeta)
0022 
0023 add_dependencies( testaggregatemeta amarokconfig_h )
0024 add_dependencies( testaggregatemeta amarokcore )
0025 add_dependencies( testaggregatemeta amaroklib)
0026 
0027 if(APPLE)
0028     set_target_properties( testaggregatemeta PROPERTIES LINK_FLAGS "-undefined dynamic_lookup" )
0029 endif()
0030 
0031 target_link_libraries( testaggregatemeta
0032     amarokcore
0033     amaroklib
0034     Qt5::Test
0035     Qt5::Core
0036     ${GOOGLEMOCK_LIBRARIES}
0037 )