/[svn]/qsampler/trunk/src/src.pro
ViewVC logotype

Contents of /qsampler/trunk/src/src.pro

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3493 - (show annotations) (download)
Sat Mar 9 21:47:46 2019 UTC (10 months, 1 week ago) by capela
File size: 2795 byte(s)
- Refactored singleton instance class.
1 # qsampler.pro
2 #
3 NAME = qsampler
4
5 TARGET = $${NAME}
6 TEMPLATE = app
7
8 include(src.pri)
9
10 #DEFINES += DEBUG
11
12 HEADERS += config.h \
13 qsampler.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
69 TRANSLATIONS += \
70 translations/qsampler_cs.ts \
71 translations/qsampler_fr.ts \
72 translations/qsampler_ru.ts
73
74
75 unix {
76
77 # variables
78 OBJECTS_DIR = .obj
79 MOC_DIR = .moc
80 UI_DIR = .ui
81
82 isEmpty(PREFIX) {
83 PREFIX = /usr/local
84 }
85
86 isEmpty(BINDIR) {
87 BINDIR = $${PREFIX}/bin
88 }
89
90 isEmpty(DATADIR) {
91 DATADIR = $${PREFIX}/share
92 }
93
94 #DEFINES += DATADIR=\"$${DATADIR}\"
95
96 # make install
97 INSTALLS += target desktop icon appdata \
98 icon_scalable mimeinfo mimetypes mimetypes_scalable
99
100 target.path = $${BINDIR}
101
102 desktop.path = $${DATADIR}/applications
103 desktop.files += $${NAME}.desktop
104
105 icon.path = $${DATADIR}/icons/hicolor/32x32/apps
106 icon.files += images/$${NAME}.png
107
108 icon_scalable.path = $${DATADIR}/icons/hicolor/scalable/apps
109 icon_scalable.files += images/$${NAME}.svg
110
111 appdata.path = $${DATADIR}/metainfo
112 appdata.files += appdata/$${NAME}.appdata.xml
113
114 mimeinfo.path = $${DATADIR}/mime/packages
115 mimeinfo.files += mimetypes/$${NAME}.xml
116
117 mimetypes.path = $${DATADIR}/icons/hicolor/32x32/mimetypes
118 mimetypes.files += mimetypes/application-x-$${NAME}-session.png
119
120 mimetypes_scalable.path = $${DATADIR}/icons/hicolor/scalable/mimetypes
121 mimetypes_scalable.files += mimetypes/application-x-$${NAME}-session.svg
122 }
123
124 QT += widgets
125
126 win32 {
127
128 CONFIG(debug, debug|release): CONFIG += console
129 INSTALLS += target
130 target.path = $${PREFIX}/bin
131 }
132
133 macx {
134
135 QMAKE_MAC_SDK = $$(SDKROOT)
136 CONFIG += $$(QMAKE_ARCHS)
137 }

  ViewVC Help
Powered by ViewVC