~njh-aelius/maxosx/musicbrainz-tags

« back to all changes in this revision

Viewing changes to Frameworks/taglib/taglib/examples/CMakeLists.txt

  • Committer: stephen_booth
  • Date: 2008-04-30 02:09:12 UTC
  • Revision ID: svn-v4:6b6cea13-1402-0410-9567-a7afb52bf336:trunk:1372
Update to latest taglib SVN

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
if(BUILD_EXAMPLES)
 
2
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../taglib
 
3
                     ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/toolkit
 
4
                     ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/ape
 
5
                     ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg
 
6
                     ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v1
 
7
                     ${CMAKE_CURRENT_SOURCE_DIR}/../taglib/mpeg/id3v2
 
8
                     ${CMAKE_CURRENT_SOURCE_DIR}/../bindings/c/  )
 
9
 
 
10
########### next target ###############
 
11
 
 
12
SET(tagreader_SRCS
 
13
tagreader.cpp
 
14
)
 
15
 
 
16
 
 
17
ADD_EXECUTABLE(tagreader ${tagreader_SRCS})
 
18
 
 
19
TARGET_LINK_LIBRARIES(tagreader  tag )
 
20
 
 
21
#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/tagreader DESTINATION ${BIN_INSTALL_DIR} )
 
22
 
 
23
 
 
24
########### next target ###############
 
25
 
 
26
SET(tagreader_c_SRCS
 
27
tagreader_c.c
 
28
)
 
29
 
 
30
 
 
31
ADD_EXECUTABLE(tagreader_c ${tagreader_c_SRCS})
 
32
 
 
33
TARGET_LINK_LIBRARIES(tagreader_c  tag_c )
 
34
 
 
35
#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/tagreader_c DESTINATION ${BIN_INSTALL_DIR})
 
36
 
 
37
 
 
38
########### next target ###############
 
39
 
 
40
SET(tagwriter_SRCS
 
41
tagwriter.cpp
 
42
)
 
43
 
 
44
 
 
45
ADD_EXECUTABLE(tagwriter ${tagwriter_SRCS})
 
46
 
 
47
TARGET_LINK_LIBRARIES(tagwriter  tag )
 
48
 
 
49
#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/tagwriter DESTINATION ${BIN_INSTALL_DIR})
 
50
 
 
51
 
 
52
########### next target ###############
 
53
 
 
54
SET(framelist_SRCS
 
55
framelist.cpp
 
56
)
 
57
 
 
58
 
 
59
ADD_EXECUTABLE(framelist ${framelist_SRCS})
 
60
 
 
61
TARGET_LINK_LIBRARIES(framelist  tag )
 
62
 
 
63
#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/framelist DESTINATION ${BIN_INSTALL_DIR})
 
64
 
 
65
 
 
66
########### next target ###############
 
67
 
 
68
SET(strip-id3v1_SRCS
 
69
        strip-id3v1.cpp)
 
70
 
 
71
ADD_EXECUTABLE(strip-id3v1 ${strip-id3v1_SRCS})
 
72
 
 
73
TARGET_LINK_LIBRARIES(strip-id3v1  tag )
 
74
 
 
75
#INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/strip-id3v1 DESTINATION ${BIN_INSTALL_DIR})
 
76
 
 
77
endif(BUILD_EXAMPLES)
 
78