forked from Manuel-K/shruthi-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shruthi-editor.pro
62 lines (55 loc) · 2.05 KB
/
shruthi-editor.pro
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
# Shruthi-Editor: An unofficial Editor for the Shruthi hardware synthesizer. For
# informations about the Shruthi, see <http:#www.mutable-instruments.net/shruthi1>.
#
# Copyright (C) 2011 Manuel Krönig
#
# 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 3 of the License, or
# (at your option) any later version.
#
# 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, see <http://www.gnu.org/licenses/>.
HEADERS = RtMidi.h settings-dialog.h shruthi-editor.h lib_patch.h \
lib_labels.h lib_editor.h lib_config.h lib_midiout.h \
lib_midiin.h keyboard-dialog.h lib_signalrouter.h \
lib_patchlibrary.h lib_midi.h
SOURCES = RtMidi.cpp settings-dialog.cpp shruthi-editor.cpp main.cpp \
lib_patch.cpp lib_labels.cpp lib_editor.cpp lib_config.cpp \
lib_midiout.cpp lib_midiin.cpp keyboard-dialog.cpp \
lib_signalrouter.cpp lib_patchlibrary.cpp lib_midi.cpp
FORMS = settings-dialog.ui shruthi-editor.ui keyboard.ui
RESOURCES = shruthi-editor.qrc
CONFIG += qt #debug
#DEFINES+=DEBUG
LIBS += -L.
target.path = release/
unix {
message(RtMidi will use linux alsaseq.)
# alsa:
DEFINES+=__LINUX_ALSASEQ__
LIBS+=-lasound
# jack;
#DEFINES+=__LINUX_JACK__
#LIBS+=-ljack
}
macx {
message(RtMidi will use macosx core.)
DEFINES+=__MACOSX_CORE__
LIBS+=-framework CoreMidi -framework CoreAudio -framework CoreFoundation
ICON = shruthi-editor.icns
}
win32 {
message(RtMidi will use windows mm.)
DEFINES+=__WINDOWS_MM__
LIBS+=-lwinmm
DEFINES+=CLEANLOOKS
RC_FILE = shruthi-editor.rc
}
# install
INSTALLS += target