summaryrefslogtreecommitdiff
path: root/attic/muse_qt4_evolution/muse/CMakeLists.txt
blob: 9ef460c3df42270d4c56cb792ce900e449ebca7a (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
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
#=============================================================================
#  MusE
#  Linux Music Editor
#  $Id:$
#
#  Copyright (C) 2002-2008 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.
#=============================================================================

include(${PROJECT_SOURCE_DIR}/pch.txt)

include_directories(
      ${CMAKE_CURRENT_BINARY_DIR}
      )

subdirs (
      ctrl
      midiedit
      widgets
      master
      instruments
      marker
      liste
      waveedit
      )

QT4_WRAP_UI  (muse_ui_headers
      preferences.ui
      exportmididialog.ui
      configmidifile.ui
      transport.ui
      aboutbox.ui
      transpose.ui
      projectpropsdialog.ui
      projectdialog.ui
      templatedialog.ui
      importmidi.ui
      routedialog.ui
      configtrack.ui
      midiportinfo.ui
      miditrackinfo.ui
      )

QT4_WRAP_CPP ( muse_moc_headers
      projectpropsdialog.h
	projectdialog.h
      templatedialog.h
      preferences.h
      plugingui.h
      midiplugin.h
      muse.h
      song.h
      transport.h
      conf.h
      editor.h
	cobject.h
      transpose.h
      track.h
      miditrackbase.h
      midisynti.h
      miditrack.h
      wavetrack.h
      audiotrack.h
      audiooutput.h
      audioinput.h
      audiogroup.h
      synth.h
      exportmidi.h
      importmidi.h
      midiinport.h
      midioutport.h
      astrip.h
      midirack.h
      mixer.h
      mstrip.h
      rack.h
      routedialog.h
      strip.h
      arranger.h
      canvas.h
      configtrack.h
      partdrag.h
      tllineedit.h
      tlswidget.h
      tlwidget.h
      trackdrag.h
      trackinfo.h
      )

QT4_ADD_RESOURCES (muse_qrc_files muse.qrc)

add_executable ( muse
      ${muse_qrc_files}
      ${muse_moc_headers}
      ${muse_ui_headers}
      ${PROJECT_BINARY_DIR}/all.h.pch

      ticksynth.cpp
      vst.cpp
      dssihost.cpp
      synth.cpp
      plugin.cpp
      ladspaplugin.cpp
      auxplugin.cpp
      pipeline.cpp
	mtc.cpp
      thread.cpp
      audio.cpp
	audioprefetch.cpp
      audiowriteback.cpp
      globals.cpp
      sync.cpp
	part.cpp
      undo.cpp
      songfile.cpp
      midi.cpp
      importmidi.cpp
      importmidi.h
      midifile.cpp
      icons.cpp
      event.cpp
      eventlist.cpp
      midieventbase.cpp
      waveevent.cpp
      midievent.cpp
	wave.cpp
      seqmsg.cpp
	help.cpp
	midictrl.cpp
      fifo.cpp
      helper.cpp
      route.cpp
      shortcuts.cpp
      ctrl.cpp
      gconfig.cpp
      midirc.cpp
      midififo.cpp
      midioutport.cpp
      midiinport.cpp
      midiout.cpp

      projectpropsdialog.cpp
	projectdialog.cpp
      templatedialog.cpp
      preferences.cpp
      plugingui.cpp
      midiplugin.cpp
      muse.cpp
      song.cpp
      songpart.cpp
      songtrack.cpp
      transport.cpp
      conf.cpp
      editor.cpp
	cobject.cpp
      transpose.cpp
      track.cpp
      miditrackbase.cpp
      midisynti.cpp
      miditrack.cpp
      wavetrack.cpp
      audiotrack.cpp
      audiooutput.cpp
      audioinput.cpp
      audiogroup.cpp
      exportmidi.cpp
      revision.cpp
      jack.cpp dummyaudio.cpp
      astrip.cpp
      midirack.cpp
      mixer.cpp
      mstrip.cpp
      rack.cpp
      routedialog.cpp
      strip.cpp

      arranger.cpp
      canvas.cpp
      configtrack.cpp
      partdrag.cpp
      tllineedit.cpp
      tlswidget.cpp
      tlwidget.cpp
      tlwlayout.cpp
      trackdrag.cpp
      trackinfo.cpp
      )

set_target_properties( muse
      PROPERTIES COMPILE_FLAGS "-include ${PROJECT_BINARY_DIR}/all.h"
      )

target_link_libraries(muse
      midiedit
      master
      instruments
      marker
      liste
      synti
      waveedit
      widgets
      al
      awl
      ctrl
      ${QT_LIBRARIES}
      QtSvg
      ${ALSA_LIB}
      ${JACK_LIB}
      ${SNDFILE_LIB}
      ${SAMPLERATE_LIB}
      ${LIBLO_LIB}
      )

install_targets ( /bin muse )