[f57d9f]: libkwave / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    142 lines (124 with data), 4.4 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#############################################################################
## 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. #
## #
#############################################################################
#############################################################################
#############################################################################
IF (WITH_SAMPLERATE)
SET(libkwave_LIB_SRCS_samplerate modules/RateConverter.cpp)
ENDIF (WITH_SAMPLERATE)
IF (WITH_OPTIMIZED_MEMCPY)
SET(libkwave_LIB_SRCS_memcpy cputest.c memcpy.c ppcasm_string.S)
SET_SOURCE_FILES_PROPERTIES(ppcasm_string.S PROPERTIES LANGUAGE C)
ENDIF (WITH_OPTIMIZED_MEMCPY)
SET(libkwave_LIB_SRCS
ApplicationContext.cpp
ClipBoard.cpp
CodecBase.cpp
CodecManager.cpp
CompressionType.cpp
ConfirmCancelProxy.cpp
Connect.cpp
Curve.cpp
Decoder.cpp
Drag.cpp
Encoder.cpp
Filter.cpp
FileInfo.cpp
FileFormat.cpp
FileProgress.cpp
Functions.cpp
GenreType.cpp
Interpolation.cpp
Label.cpp
LabelList.cpp
MemoryManager.cpp
MessageBox.cpp
MetaData.cpp
MetaDataList.cpp
MimeData.cpp
MixerMatrix.cpp
MultiPlaybackSink.cpp
MultiStreamWriter.cpp
MultiTrackReader.cpp
MultiTrackWriter.cpp
MultiWriter.cpp
Parser.cpp
PlaybackController.cpp
PlaybackSink.cpp
Plugin.cpp
PluginManager.cpp
PluginWorkerThread.cpp
SampleArray.cpp
SampleSink.cpp
SampleSource.cpp
Selection.cpp
Signal.cpp
SignalManager.cpp
SampleEncoderLinear.cpp
SampleFIFO.cpp
SampleFormat.cpp
SampleReader.cpp
StandardBitrates.cpp
StreamWriter.cpp
Stripe.cpp
SwapFile.cpp
Track.cpp
TrackWriter.cpp
Utils.cpp
VirtualAudioFile.cpp
Writer.cpp
WindowFunction.cpp
modules/ChannelMixer.cpp
modules/CurveStreamAdapter.cpp
modules/Indexer.cpp
modules/KwaveDelay.cpp
modules/KwaveMul.cpp
modules/KwaveOsc.cpp
modules/SampleBuffer.cpp
modules/StreamObject.cpp
undo/UndoAddMetaDataAction.cpp
undo/UndoDeleteAction.cpp
undo/UndoDeleteMetaDataAction.cpp
undo/UndoDeleteTrack.cpp
undo/UndoInsertAction.cpp
undo/UndoInsertTrack.cpp
undo/UndoModifyAction.cpp
undo/UndoModifyMetaDataAction.cpp
undo/UndoSelection.cpp
undo/UndoTransaction.cpp
undo/UndoTransactionGuard.cpp
${libkwave_LIB_SRCS_samplerate}
${libkwave_LIB_SRCS_memcpy}
)
#############################################################################
QT4_AUTOMOC(${libkwave_LIB_SRCS})
KDE4_ADD_LIBRARY(libkwave SHARED ${libkwave_LIB_SRCS})
TARGET_LINK_LIBRARIES(libkwave
audiofile
${SAMPLERATE_LIBS}
${QT_AND_KDECORE_LIBS}
)
#############################################################################
SET_TARGET_PROPERTIES(libkwave PROPERTIES OUTPUT_NAME "kwave")
SET_TARGET_PROPERTIES(libkwave PROPERTIES LINK_FLAGS "-Wl,--export-dynamic")
SET_TARGET_PROPERTIES(libkwave PROPERTIES
VERSION ${KWAVE_SOVERSION} SOVERSION ${KWAVE_VERSION_MAJOR} )
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
#############################################################################
### install files ###
INSTALL(TARGETS libkwave LIBRARY DESTINATION ${KDE4_LIB_INSTALL_DIR} NAMELINK_SKIP)
#############################################################################
#############################################################################