~ubuntu-branches/ubuntu/utopic/ardour3/utopic

« back to all changes in this revision

Viewing changes to libs/taglib/tests/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Felipe Sateler
  • Date: 2013-09-21 19:05:02 UTC
  • Revision ID: package-import@ubuntu.com-20130921190502-8gsftrku6jnzhd7v
Tags: upstream-3.4~dfsg
ImportĀ upstreamĀ versionĀ 3.4~dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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)