-
Notifications
You must be signed in to change notification settings - Fork 4
/
shruthi-editor.pro
143 lines (119 loc) · 3.17 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
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
# 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-2019 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/>.
#
# Source files
#
HEADERS = \
ui/keyboard_dialog.h \
ui/keyboard_widget.h \
ui/library_dialog.h \
ui/main_window.h \
ui/sequence_editor.h \
ui/sequence_step.h \
ui/settings_dialog.h \
ui/shruthi_editor_dial.h \
RtMidi.h \
config.h \
editor.h \
fileio.h \
flag.h \
labels.h \
library.h \
message.h \
midi.h \
midiin.h \
midiout.h \
patch.h \
queueitem.h \
sequence.h \
sequence_parameter.h \
signalrouter.h \
version.h
SOURCES = \
ui/keyboard_dialog.cpp \
ui/keyboard_widget.cpp \
ui/library_dialog.cpp \
ui/main_window.cpp \
ui/sequence_editor.cpp \
ui/sequence_step.cpp \
ui/settings_dialog.cpp \
ui/shruthi_editor_dial.cpp \
RtMidi.cpp \
config.cpp \
editor.cpp \
fileio.cpp \
labels.cpp \
library.cpp \
main.cpp \
midi.cpp \
midiin.cpp \
midiout.cpp \
patch.cpp \
sequence.cpp \
signalrouter.cpp
FORMS = \
ui/keyboard_dialog.ui \
ui/library_dialog.ui \
ui/main_window.ui \
ui/sequence_editor.ui \
ui/sequence_step.ui \
ui/settings_dialog.ui \
ui/shruthi_editor_dial.ui
RESOURCES = \
ui/shruthi_editor.qrc
TRANSLATIONS = \
#
# Settings
#
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += qt
#DEFINES += DEBUGMSGS
# Uncomment the following line if you use a firmware version prior to 0.94
#DEFINES += PRE094SYSEXHEADER
LIBS += -L.
target.path = release/
# Comment the following line if you don't want to force the Fusion style for Qt 5
greaterThan(QT_MAJOR_VERSION, 4): DEFINES += FUSION
# Comment the following line if you don't want to force the Cleanlooks style for Qt 4
equals(QT_MAJOR_VERSION, 4): DEFINES += CLEANLOOKS
# Generate and embed translations
CONFIG += lrelease embed_translations
unix:!macx {
message(RtMidi will use linux alsaseq.)
# alsa:
DEFINES += __LINUX_ALSA__
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 = ui/shruthi_editor.icns
}
win32 {
message(RtMidi will use windows mm.)
DEFINES += __WINDOWS_MM__
LIBS += -lwinmm
RC_FILE = ui/shruthi_editor.rc
}
# install
INSTALLS += target