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

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

Download this file

CMakeLists.txt    102 lines (87 with data), 4.2 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
#############################################################################
## 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}
${QT_INCLUDE_DIR}
)
KDE4_ADD_UI_FILES(plugin_${_plugin}_LIB_SRCS ${plugin_${_plugin}_LIB_UI})
QT4_AUTOMOC(${plugin_${_plugin}_LIB_SRCS})
#########################################################################
### link stage ###
KDE4_ADD_LIBRARY(plugin_${_plugin} SHARED ${plugin_${_plugin}_LIB_SRCS})
TARGET_LINK_LIBRARIES(plugin_${_plugin}
kwavegui
kwave
${plugin_${_plugin}_LIBS}
${SAMPLERATE_LIBS}
${QT_AND_KDECORE_LIBS}
)
SET_TARGET_PROPERTIES(plugin_${_plugin} PROPERTIES PREFIX "")
SET_TARGET_PROPERTIES(plugin_${_plugin} PROPERTIES SUFFIX "")
SET_TARGET_PROPERTIES(plugin_${_plugin} PROPERTIES OUTPUT_NAME "${_plugin}")
SET_TARGET_PROPERTIES(plugin_${_plugin} PROPERTIES LINK_FLAGS
"-Wl,--export-dynamic -Wl,--add-needed")
SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})
#########################################################################
### install ###
ADD_DEPENDENCIES(plugin_${_plugin} libkwave libkwavegui)
EXECUTE_PROCESS(COMMAND "${KDE4_KDECONFIG_EXECUTABLE}"
--expandvars --install module
OUTPUT_VARIABLE KDE4_MODULE_INSTALL_DIR
OUTPUT_STRIP_TRAILING_WHITESPACE)
INSTALL(TARGETS
plugin_${_plugin}
LIBRARY
DESTINATION ${DESTDIR}${KDE4_MODULE_INSTALL_DIR}/plugins/kwave
)
ENDMACRO(KWAVE_PLUGIN)
#############################################################################
ADD_SUBDIRECTORY( about )
ADD_SUBDIRECTORY( amplifyfree )
ADD_SUBDIRECTORY( band_pass )
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( debug )
ADD_SUBDIRECTORY( decoder_mp3 ) # needs libmad and id3lib
ADD_SUBDIRECTORY( fileinfo )
ADD_SUBDIRECTORY( goto )
ADD_SUBDIRECTORY( labeler )
ADD_SUBDIRECTORY( lowpass )
ADD_SUBDIRECTORY( memory )
ADD_SUBDIRECTORY( newsignal )
ADD_SUBDIRECTORY( noise )
ADD_SUBDIRECTORY( normalize )
ADD_SUBDIRECTORY( notch_filter )
ADD_SUBDIRECTORY( pitch_shift )
ADD_SUBDIRECTORY( playback ) # needs OSS and/or ALSA
ADD_SUBDIRECTORY( record ) # needs OSS and/or ALSA
ADD_SUBDIRECTORY( reverse )
ADD_SUBDIRECTORY( samplerate ) # needs libsamplerate
ADD_SUBDIRECTORY( saveblocks )
ADD_SUBDIRECTORY( selectrange )
ADD_SUBDIRECTORY( sonagram ) # needs fftw >= 3.0
ADD_SUBDIRECTORY( volume )
ADD_SUBDIRECTORY( zero )
#############################################################################
#############################################################################