mirror of
https://github.com/taglib/taglib.git
synced 2025-07-17 20:44:20 -04:00
Add support for examples
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@592362 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/taglib ${CMAKE_SOURCE_DIR}/taglib/toolkit ${CMAKE_SOURCE_DIR}/taglib/mpeg ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v1 ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v2 ${CMAKE_SOURCE_DIR}/taglib/bindings/c )
|
||||
|
||||
if(BUILD_TESTS)
|
||||
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/taglib ${CMAKE_SOURCE_DIR}/taglib/toolkit ${CMAKE_SOURCE_DIR}/taglib/mpeg ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v1 ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v2 ${CMAKE_SOURCE_DIR}/bindings/c/ )
|
||||
|
||||
########### next target ###############
|
||||
|
||||
@ -52,7 +52,7 @@ framelist.cpp
|
||||
|
||||
ADD_EXECUTABLE(framelist ${framelist_SRCS})
|
||||
|
||||
TARGET_LINK_LIBRARIES(framelist ${QT_AND_KDECORE_LIBS} )
|
||||
TARGET_LINK_LIBRARIES(framelist tag )
|
||||
|
||||
INSTALL(PROGRAMS framelist DESTINATION ${BIN_INSTALL_DIR})
|
||||
|
||||
@ -60,15 +60,13 @@ INSTALL(PROGRAMS framelist DESTINATION ${BIN_INSTALL_DIR})
|
||||
########### next target ###############
|
||||
|
||||
SET(strip-id3v1_SRCS
|
||||
dummy.cpp
|
||||
)
|
||||
strip-id3v1.cpp)
|
||||
|
||||
KDE3_AUTOMOC(${strip-id3v1_SRCS})
|
||||
|
||||
FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
|
||||
ADD_EXECUTABLE(strip-id3v1 ${strip-id3v1_SRCS})
|
||||
|
||||
TARGET_LINK_LIBRARIES(strip-id3v1 tag )
|
||||
|
||||
INSTALL(PROGRAMS strip-id3v1 DESTINATION ${BIN_INSTALL_DIR})
|
||||
|
||||
endif(BUILD_TESTS)
|
||||
|
||||
|
Reference in New Issue
Block a user