Warning, /multimedia/amarok/tests/core/meta/support/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories( . 0002 ${AMAROK_TEST_TREE} 0003 ${CMAKE_BINARY_DIR}/tests 0004 ) 0005 0006 #------------------------ Test MetaAlbumKey ----------------------------- 0007 0008 set( testmetaalbumkey_SRCS TestMetaAlbumKey.cpp ) 0009 add_executable( testmetaalbumkey ${testmetaalbumkey_SRCS} ) 0010 add_test(NAME testmetaalbumkey COMMAND $<TARGET_FILE:testmetaalbumkey>) 0011 ecm_mark_as_test(testmetaalbumkey) 0012 target_link_libraries( testmetaalbumkey Qt5::Test amarokcore amaroklib ) 0013 0014 #------------------------ Test MetaTrackKey ----------------------------- 0015 0016 set( testmetatrackkey_SRCS TestMetaTrackKey.cpp ) 0017 add_executable( testmetatrackkey ${testmetatrackkey_SRCS} ) 0018 add_test(NAME testmetatrackkey COMMAND $<TARGET_FILE:testmetatrackkey>) 0019 ecm_mark_as_test(testmetatrackkey) 0020 target_link_libraries( testmetatrackkey Qt5::Test amarokcore amaroklib ) 0021 0022 #------------------------ Test PrivateMetaRegistry ----------------------------- 0023 0024 set( testprivatemetaregistry_SRCS TestPrivateMetaRegistry.cpp ) 0025 add_executable( testprivatemetaregistry ${testprivatemetaregistry_SRCS} ) 0026 add_test(NAME testprivatemetaregistry COMMAND $<TARGET_FILE:testprivatemetaregistry>) 0027 ecm_mark_as_test(testprivatemetaregistry) 0028 target_link_libraries( testprivatemetaregistry Qt5::Test amarokcore amaroklib ) 0029 0030 #------------------------ Test MetaConstants ----------------------------- 0031 0032 set( testmetaconstants_SRCS TestMetaConstants.cpp ../../../../shared/FileType.cpp ) 0033 add_executable( testmetaconstants ${testmetaconstants_SRCS} ) 0034 add_test(NAME testmetaconstants COMMAND $<TARGET_FILE:testmetaconstants>) 0035 ecm_mark_as_test(testmetaconstants) 0036 target_link_libraries( testmetaconstants Qt5::Gui Qt5::Test amarokcore amaroklib )