Add cmake support

All compile need to test now


git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@586714 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Laurent Montel
2006-09-20 12:52:28 +00:00
parent dae3f83820
commit e3cf99c87a
23 changed files with 486 additions and 2 deletions

32
tests/CMakeLists.txt Normal file
View File

@ -0,0 +1,32 @@
INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/taglib ${CMAKE_SOURCE_DIR}/taglib/toolkit ${CMAKE_SOURCE_DIR}/taglib/mpeg/id3v2 )
########### next target ###############
SET(toolkit-test_SRCS
dummy.cpp
)
FILE(WRITE dummy.cpp "//autogenerated file by cmake\n")
ADD_EXECUTABLE(toolkit-test ${toolkit-test_SRCS})
TARGET_LINK_LIBRARIES(toolkit-test ${QT_AND_KDECORE_LIBS} )
########### install files ###############
#original Makefile.am contents follow:
#INCLUDES = \
# -I$(top_srcdir)/taglib\
# -I$(top_srcdir)/taglib/toolkit \
# -I$(top_srcdir)/taglib/mpeg/id3v2
#
#LDADD = ../libtag.la
#
#check_PROGRAMS = toolkit-test
#
#toolkit_test_SOURCES = toolkit-test.cpp