Allow individual plugin controls to be shown / hidden.
[ardour.git] / libs / taglib / tests / CMakeLists.txt
1 if(BUILD_TESTS)
2
3 INCLUDE_DIRECTORIES(
4   ${CMAKE_CURRENT_SOURCE_DIR}/../taglib
5   ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/toolkit
6   ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v1
7   ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v2
8   ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v2/frames
9   ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg
10   ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/trueaudio
11 )
12
13 SET(test_runner_SRCS
14   main.cpp
15   test_list.cpp
16   test_map.cpp
17   test_mpeg.cpp
18   test_synchdata.cpp
19   test_trueaudio.cpp
20   test_bytevector.cpp
21   test_string.cpp
22   test_fileref.cpp
23   test_id3v1.cpp
24   test_id3v2.cpp
25 )
26
27 ADD_EXECUTABLE(test_runner ${test_runner_SRCS})
28 TARGET_LINK_LIBRARIES(test_runner tag ${CPPUNIT_LIBRARIES})
29
30 ADD_CUSTOM_TARGET(check
31     ./test_runner
32     DEPENDS test_runner
33 )
34
35 endif(BUILD_TESTS)