Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[a21201]: plugins / CMakeLists.txt Maximize Restore History

Download this file

CMakeLists.txt    88 lines (74 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
#############################################################################
## Kwave - plugins/CMakeLists.txt
## -------------------
## begin : Mon May 28 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. #
## #
#############################################################################
MACRO(KWAVE_PLUGIN _plugin)
#########################################################################
### compile stage ###
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${KDE3_INCLUDE_DIR}
${QT_INCLUDE_DIR}
)
KDE3_ADD_UI_FILES(plugin_${_plugin}_LIB_SRCS ${plugin_${_plugin}_LIB_UI})
KDE3_AUTOMOC(${plugin_${_plugin}_LIB_SRCS})
#########################################################################
### link stage ###
ADD_LIBRARY(plugin_${_plugin} SHARED ${plugin_${_plugin}_LIB_SRCS})
TARGET_LINK_LIBRARIES(plugin_${_plugin}
${QT_AND_KDECORE_LIBS}
${plugin_${_plugin}_LIBS}
)
SET_TARGET_PROPERTIES(plugin_${_plugin} PROPERTIES OUTPUT_NAME "${_plugin}")
SET_TARGET_PROPERTIES(plugin_${_plugin} PROPERTIES LINK_FLAGS
"-Wl,--export-dynamic -Wl,--add-needed")
#########################################################################
### install ###
INSTALL(
PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/lib${_plugin}.so
RENAME ${_plugin}
DESTINATION ${KDE3_DATADIR}/kwave/plugins
)
ADD_DEPENDENCIES(plugin_${_plugin} libkwave libkwavegui)
ENDMACRO(KWAVE_PLUGIN)
#############################################################################
IF(HAVE_ARTS_SUPPORT)
ADD_SUBDIRECTORY( amplifyfree )
ADD_SUBDIRECTORY( band_pass )
ADD_SUBDIRECTORY( lowpass )
ADD_SUBDIRECTORY( noise )
ADD_SUBDIRECTORY( notch_filter )
ADD_SUBDIRECTORY( pitch_shift )
ADD_SUBDIRECTORY( playback ) # needs OSS, ALSA and/or aRts
ADD_SUBDIRECTORY( volume )
ENDIF(HAVE_ARTS_SUPPORT)
ADD_SUBDIRECTORY( about )
ADD_SUBDIRECTORY( codec_ascii )
ADD_SUBDIRECTORY( codec_audiofile ) # needs libaudiofile
ADD_SUBDIRECTORY( codec_flac ) # needs libflac 1.1.1 or 1.1.2
ADD_SUBDIRECTORY( codec_ogg ) # needs libogg and libvorbis
ADD_SUBDIRECTORY( codec_wav ) # needs libaudiofile
ADD_SUBDIRECTORY( decoder_mp3 ) # needs libmad and id3lib
ADD_SUBDIRECTORY( fileinfo )
ADD_SUBDIRECTORY( memory )
ADD_SUBDIRECTORY( newsignal )
ADD_SUBDIRECTORY( record ) # needs OSS, ALSA and/or aRts
ADD_SUBDIRECTORY( saveblocks )
ADD_SUBDIRECTORY( selectrange )
ADD_SUBDIRECTORY( sonagram ) # needs libgsl >= 1.3
ADD_SUBDIRECTORY( zero )
#############################################################################
#############################################################################