Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[354ca9]: libkwave / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    114 lines (99 with data), 3.7 kB

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
#############################################################################
## Kwave - libkwave/CMakeLists.txt
## -------------------
## begin : Tue May 01 2007
## copyright : (C) 2007 by Thomas Eschenbacher
## email : Thomas.Eschenbacher@gmx.de
#############################################################################
#
#############################################################################
## #
## This program is free software; you can redistribute it and/or modify #
## it under the terms of the GNU General Public License as published by #
## the Free Software Foundation; either version 2 of the License, or #
## (at your option) any later version. #
## #
#############################################################################
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${KDE3_INCLUDE_DIR}
${QT_INCLUDE_DIR}
${MCOPIDL_INCLUDES}
)
#############################################################################
ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/ppcasm_string.o
COMMAND ${CMAKE_C_COMPILER} -I${CMAKE_BINARY_DIR} -Wall -O2
-DHAVE_CONFIG_H
-o ${CMAKE_CURRENT_BINARY_DIR}/ppcasm_string.o
-c ${CMAKE_CURRENT_SOURCE_DIR}/ppcasm_string.S
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/ppcasm_string.S
)
#############################################################################
SET(libkwave_LIB_SRCS
CodecBase.cpp
CompressionType.cpp
cputest.c
Curve.cpp
CurveStreamAdapter.cpp
Decoder.cpp
Encoder.cpp
Filter.cpp
FileInfo.cpp
FileLoader.cpp
FileFormat.cpp
Functions.cpp
GenreType.cpp
Interpolation.cpp
KwaveConnect.cpp
KwaveDelay.cpp
KwaveDrag.cpp
KwaveFilterPlugin.cpp
KwaveMul.cpp
KwaveMultiPlaybackSink.cpp
KwaveOsc.cpp
KwavePlaybackSink.cpp
KwavePlugin.cpp
KwaveSampleSink.cpp
KwaveSampleSource.cpp
KwaveStreamObject.cpp
Label.cpp
LabelList.cpp
LineParser.cpp
memcpy.c
MultiTrackReader.cpp
MultiTrackWriter.cpp
Parser.cpp
ppcasm_string.S
Selection.cpp
Signal.cpp
SampleFIFO.cpp
SampleFormat.cpp
SampleReader.cpp
SampleWriter.cpp
SampleLock.cpp
StandardBitrates.cpp
Stripe.cpp
Track.cpp
VirtualAudioFile.cpp
WindowFunction.cpp
)
#############################################################################
KDE3_AUTOMOC(${libkwave_LIB_SRCS})
ADD_LIBRARY(libkwave SHARED ${libkwave_LIB_SRCS})
ADD_DEPENDENCIES(libkwave libkwavemt)
IF (NOT USE_SYSTEM_LIB_AUDIOFILE)
TARGET_LINK_LIBRARIES(libkwave audiofile)
ADD_DEPENDENCIES(libkwave audiofile)
ENDIF (NOT USE_SYSTEM_LIB_AUDIOFILE)
#############################################################################
SET_TARGET_PROPERTIES(libkwave PROPERTIES OUTPUT_NAME "kwave")
SET_TARGET_PROPERTIES(libkwave PROPERTIES LINK_FLAGS
"-Wl,--whole-archive -lkwavemt -Wl,-no-whole-archive -Wl,--export-dynamic")
SET_TARGET_PROPERTIES(libkwave PROPERTIES
VERSION ${KWAVE_SOVERSION} SOVERSION ${KWAVE_VERSION_MAJOR} )
#############################################################################
### install files ###
INSTALL(TARGETS libkwave LIBRARY DESTINATION ${KDE3_LIB_DIR})
#############################################################################
#############################################################################