1 |
capela |
2184 |
# qsampler.pro |
2 |
|
|
# |
3 |
|
|
TARGET = qsampler |
4 |
|
|
|
5 |
|
|
TEMPLATE = app |
6 |
|
|
DEPENDPATH += . |
7 |
|
|
INCLUDEPATH += . |
8 |
|
|
|
9 |
|
|
include(src.pri) |
10 |
|
|
|
11 |
|
|
#DEFINES += DEBUG |
12 |
|
|
|
13 |
|
|
HEADERS += config.h \ |
14 |
|
|
qsamplerAbout.h \ |
15 |
|
|
qsamplerOptions.h \ |
16 |
|
|
qsamplerChannel.h \ |
17 |
|
|
qsamplerMessages.h \ |
18 |
|
|
qsamplerInstrument.h \ |
19 |
|
|
qsamplerInstrumentList.h \ |
20 |
|
|
qsamplerDevice.h \ |
21 |
|
|
qsamplerFxSend.h \ |
22 |
|
|
qsamplerFxSendsModel.h \ |
23 |
|
|
qsamplerUtilities.h \ |
24 |
|
|
qsamplerInstrumentForm.h \ |
25 |
|
|
qsamplerInstrumentListForm.h \ |
26 |
|
|
qsamplerDeviceForm.h \ |
27 |
|
|
qsamplerDeviceStatusForm.h \ |
28 |
|
|
qsamplerChannelStrip.h \ |
29 |
|
|
qsamplerChannelForm.h \ |
30 |
|
|
qsamplerChannelFxForm.h \ |
31 |
|
|
qsamplerOptionsForm.h \ |
32 |
|
|
qsamplerMainForm.h |
33 |
|
|
|
34 |
|
|
SOURCES += \ |
35 |
|
|
qsampler.cpp \ |
36 |
|
|
qsamplerOptions.cpp \ |
37 |
|
|
qsamplerChannel.cpp \ |
38 |
|
|
qsamplerMessages.cpp \ |
39 |
|
|
qsamplerInstrument.cpp \ |
40 |
|
|
qsamplerInstrumentList.cpp \ |
41 |
|
|
qsamplerDevice.cpp \ |
42 |
|
|
qsamplerFxSend.cpp \ |
43 |
|
|
qsamplerFxSendsModel.cpp \ |
44 |
|
|
qsamplerUtilities.cpp \ |
45 |
|
|
qsamplerInstrumentForm.cpp \ |
46 |
|
|
qsamplerInstrumentListForm.cpp \ |
47 |
|
|
qsamplerDeviceForm.cpp \ |
48 |
|
|
qsamplerDeviceStatusForm.cpp \ |
49 |
|
|
qsamplerChannelStrip.cpp \ |
50 |
|
|
qsamplerChannelForm.cpp \ |
51 |
|
|
qsamplerChannelFxForm.cpp \ |
52 |
|
|
qsamplerOptionsForm.cpp \ |
53 |
|
|
qsamplerMainForm.cpp |
54 |
|
|
|
55 |
|
|
FORMS += \ |
56 |
|
|
qsamplerInstrumentForm.ui \ |
57 |
|
|
qsamplerInstrumentListForm.ui \ |
58 |
|
|
qsamplerDeviceForm.ui \ |
59 |
|
|
qsamplerChannelStrip.ui \ |
60 |
|
|
qsamplerChannelForm.ui \ |
61 |
|
|
qsamplerChannelFxForm.ui \ |
62 |
|
|
qsamplerOptionsForm.ui \ |
63 |
|
|
qsamplerMainForm.ui |
64 |
|
|
|
65 |
|
|
RESOURCES += \ |
66 |
|
|
qsampler.qrc |
67 |
|
|
|
68 |
|
|
TRANSLATIONS += \ |
69 |
|
|
translations/qsampler_cs.ts \ |
70 |
|
|
translations/qsampler_ru.ts |
71 |
|
|
|
72 |
|
|
unix { |
73 |
|
|
|
74 |
capela |
2282 |
# variables |
75 |
capela |
2184 |
OBJECTS_DIR = .obj |
76 |
|
|
MOC_DIR = .moc |
77 |
|
|
UI_DIR = .ui |
78 |
|
|
|
79 |
|
|
isEmpty(PREFIX) { |
80 |
|
|
PREFIX = /usr/local |
81 |
|
|
} |
82 |
|
|
|
83 |
capela |
2282 |
BINDIR = $(bindir) |
84 |
|
|
DATADIR = $(datadir) |
85 |
|
|
LOCALEDIR = $(localedir) |
86 |
capela |
2184 |
|
87 |
capela |
2282 |
DEFINES += BINDIR=\"$$BINDIR\" |
88 |
|
|
DEFINES += DATADIR=\"$$DATADIR\" |
89 |
|
|
DEFINES += LOCALEDIR=\"$$LOCALEDIR\" |
90 |
capela |
2184 |
|
91 |
capela |
2282 |
# make install |
92 |
capela |
2184 |
INSTALLS += target desktop icon |
93 |
|
|
|
94 |
|
|
target.path = $$BINDIR |
95 |
|
|
|
96 |
|
|
desktop.path = $$DATADIR/applications |
97 |
|
|
desktop.files += $${TARGET}.desktop |
98 |
|
|
|
99 |
|
|
icon.path = $$DATADIR/icons/hicolor/32x32/apps |
100 |
|
|
icon.files += images/$${TARGET}.png |
101 |
|
|
} |
102 |
|
|
|
103 |
|
|
win32 { |
104 |
|
|
|
105 |
|
|
CONFIG(debug, debug|release): CONFIG += console |
106 |
|
|
INSTALLS += target |
107 |
capela |
2282 |
target.path = $$BINDIR |
108 |
capela |
2184 |
} |
109 |
|
|
|
110 |
|
|
macx { |
111 |
|
|
|
112 |
|
|
QMAKE_MAC_SDK = $$(SDKROOT) |
113 |
|
|
CONFIG += $$(QMAKE_ARCHS) |
114 |
|
|
} |