summaryrefslogtreecommitdiff
path: root/muse_qt4_evolution/synti/zynaddsubfx/CMakeLists.txt
blob: 629b771c8176ad231581b7940e9b6f96a7934f6c (plain)
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
#=============================================================================
#  MusE
#  Linux Music Editor
#  $Id:$
#
#  Copyright (C) 2006 by Werner Schweer and others
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License version 2.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================

subdirs("UI")

include_directories(
      BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/UI
      BEFORE ${CMAKE_CURRENT_BINARY_DIR}/UI
      )

add_library (
      zynaddsubfx SHARED
      DSP/AnalogFilter.C
      DSP/FFTwrapper.C
      DSP/Filter.C
      DSP/FormantFilter.C
      DSP/SVFilter.C
      Effects/Alienwah.C
      Effects/Chorus.C
      Effects/Distorsion.C
      Effects/DynamicFilter.C
      Effects/EQ.C
      Effects/Echo.C
      Effects/Effect.C
      Effects/EffectLFO.C
      Effects/EffectMgr.C
      Effects/Phaser.C
      Effects/Reverb.C
      Output/Recorder.C
      Misc/Bank.C
      Misc/Config.C
      Misc/Dump.C
      Misc/Master.C
      Misc/Microtonal.C
      Misc/Part.C
      Misc/Util.C
      Misc/XMLwrapper.C
      Seq/MIDIEvents.C
      Seq/MIDIFile.C
      Seq/Sequencer.C
      Params/ADnoteParameters.C
      Params/Controller.C
      Params/EnvelopeParams.C
      Params/FilterParams.C
      Params/LFOParams.C
      Params/PADnoteParameters.C
      Params/Presets.C
      Params/PresetsStore.C
      Params/SUBnoteParameters.C
      Synth/ADnote.C
      Synth/Envelope.C
      Synth/LFO.C
      Synth/OscilGen.C
      Synth/PADnote.C
      Synth/Resonance.C
      Synth/SUBnote.C
      main.cpp
      )

# - tell cmake to name target zynaddsubfx.so instead of
#   libzynaddsubfx.so
#

set_target_properties ( zynaddsubfx
   PROPERTIES PREFIX ""
   COMPILE_FLAGS "-O2 -fvisibility=hidden -DASM_F2I_YES -DOS_LINUX -DFFTW_VERSION_3"
   )

target_link_libraries( zynaddsubfx
      zyngui
      synti
      fftw3
      mxml
      m z fltk
      )

INSTALL(
      DIRECTORY banks
      DESTINATION ${CMAKE_INSTALL_PREFIX}/share/${MusE_INSTALL_NAME}/presets/zynaddsubfx
      )

install_targets ( /${CMAKE_INSTALL_LIBDIR}/${MusE_INSTALL_NAME}/synthi/ zynaddsubfx )