forked from mcallegari/qlcplus
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvariables.pri
More file actions
166 lines (133 loc) · 5.58 KB
/
variables.pri
File metadata and controls
166 lines (133 loc) · 5.58 KB
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
#############################################################################
# Application name & version
#############################################################################
APPNAME = Q Light Controller Plus
FXEDNAME = Fixture Definition Editor
APPVERSION = 4.9.2 GIT
#############################################################################
# Compiler & linker configuration
#############################################################################
# Treat all compiler warnings as errors
QMAKE_CXXFLAGS += -Werror
!macx:QMAKE_CXXFLAGS += -Wno-unused-local-typedefs # Fix to build with GCC 4.8
CONFIG += warn_on
# Build everything in the order specified in .pro files
CONFIG += ordered
# Enable the following 2 lines when making a release
CONFIG -= release
#DEFINES += QT_NO_DEBUG_OUTPUT
# Disable this when making a release
CONFIG += debug
# Disable these if you don't want to see SVN revision in the About Box
#unix:REVISION = $$system(svn info | grep "Revision" | sed 's/Revision://')
#unix:APPVERSION = $$APPVERSION-r$$REVISION
unix:OLA_GIT = /usr/src/ola # OLA directories
#macx:CONFIG += x86 ppc # Build universal binaries (Leopard only)
macx:CONFIG -= app_bundle # Let QLC+ construct the .app bundle
# Produce build targets to the source directory
win32:DESTDIR = ./
# Don't whine about some imports
win32:QMAKE_LFLAGS += -Wl,--enable-auto-import
# Enable unit test coverage measurement ('qmake CONFIG+=coverage' works, too)
#CONFIG += coverage
#############################################################################
# Installation paths
#############################################################################
# Install root
win32:INSTALLROOT = $$(SystemDrive)/qlcplus
macx:INSTALLROOT = ~/QLC+.app/Contents
unix:!macx:INSTALLROOT += /usr
android:INSTALLROOT = /
# Binaries
win32:BINDIR =
unix:!macx:BINDIR = bin
macx:BINDIR = MacOS
android:BINDIR = bin
# Libraries
win32:LIBSDIR =
unix:!macx:LIBSDIR = lib
macx:LIBSDIR = Frameworks
android:LIBSDIR = /libs/armeabi-v7a
# Data
win32:DATADIR =
unix:!macx:DATADIR = share/qlcplus
macx:DATADIR = Resources
android:DATADIR = /assets
# User Data
win32:USERDATADIR = QLC+
unix:!macx:USERDATADIR = .qlcplus
macx:USERDATADIR = "Library/Application Support/QLC+"
android:USERDATADIR = .qlcplus
# Documentation
win32:DOCSDIR = Documents
unix:!macx:DOCSDIR = $$DATADIR/documents
macx:DOCSDIR = $$DATADIR/Documents
android:DOCSDIR = $$DATADIR/documents
# Input profiles
win32:INPUTPROFILEDIR = InputProfiles
unix:!macx:INPUTPROFILEDIR = $$DATADIR/inputprofiles
macx:INPUTPROFILEDIR = $$DATADIR/InputProfiles
android:INPUTPROFILEDIR = $$DATADIR/inputprofiles
# User input profiles
win32:USERINPUTPROFILEDIR = $$USERDATADIR/InputProfiles
unix:!macx:USERINPUTPROFILEDIR = $$USERDATADIR/inputprofiles
macx:USERINPUTPROFILEDIR = $$USERDATADIR/InputProfiles
android:USERINPUTPROFILEDIR = $$USERDATADIR/inputprofiles
# Midi templates
win32:MIDITEMPLATEDIR = MidiTemplates
unix:!macx:MIDITEMPLATEDIR = $$DATADIR/miditemplates
macx:MIDITEMPLATEDIR = $$DATADIR/MidiTemplates
android:MIDITEMPLATEDIR = $$DATADIR/miditemplates
# User midi templates
win32:USERMIDITEMPLATEDIR = $$USERDATADIR/MidiTemplates
unix:!macx:USERMIDITEMPLATEDIR = $$USERDATADIR/miditemplates
macx:USERMIDITEMPLATEDIR = $$USERDATADIR/MidiTemplates
android:USERMIDITEMPLATEDIR = $$USERDATADIR/miditemplates
# Channel modifiers templates
win32:MODIFIERSTEMPLATEDIR = ModifiersTemplates
unix:!macx:MODIFIERSTEMPLATEDIR = $$DATADIR/modifierstemplates
macx:MODIFIERSTEMPLATEDIR = $$DATADIR/ModifiersTemplates
android:MODIFIERSTEMPLATEDIR = $$DATADIR/modifierstemplates
# User midi templates
win32:USERMODIFIERSTEMPLATEDIR = $$USERDATADIR/ModifiersTemplates
unix:!macx:USERMODIFIERSTEMPLATEDIR = $$USERDATADIR/modifierstemplates
macx:USERMODIFIERSTEMPLATEDIR = $$USERDATADIR/ModifiersTemplates
android:USERMODIFIERSTEMPLATEDIR = $$USERDATADIR/modifierstemplates
# Fixtures
win32:FIXTUREDIR = Fixtures
unix:!macx:FIXTUREDIR = $$DATADIR/fixtures
macx:FIXTUREDIR = $$DATADIR/Fixtures
android:FIXTUREDIR = $$DATADIR/fixtures
# Gobos
win32:GOBODIR = Gobos
unix:!macx:GOBODIR = $$DATADIR/gobos
macx:GOBODIR = $$DATADIR/Gobos
android:GOBODIR = $$DATADIR/gobos
# User fixtures
win32:USERFIXTUREDIR = $$USERDATADIR/Fixtures
unix:!macx:USERFIXTUREDIR = $$USERDATADIR/fixtures
macx:USERFIXTUREDIR = $$USERDATADIR/Fixtures
android:USERFIXTUREDIR = $$USERDATADIR/fixtures
# Plugins
win32:PLUGINDIR = Plugins
unix:!macx:PLUGINDIR = $$LIBSDIR/qt4/plugins/qlcplus
macx:PLUGINDIR = PlugIns
android:PLUGINDIR = Plugins
# Translations
win32:TRANSLATIONDIR =
unix:!macx:TRANSLATIONDIR = $$DATADIR/translations
macx:TRANSLATIONDIR = $$DATADIR/Translations
android:TRANSLATIONDIR = $$DATADIR/translations
# RGB Scripts
win32:RGBSCRIPTDIR = RGBScripts
unix:!macx:RGBSCRIPTDIR = $$DATADIR/rgbscripts
macx:RGBSCRIPTDIR = $$DATADIR/RGBScripts
android:RGBSCRIPTDIR = $$DATADIR/rgbscripts
# User RGB Scripts
win32:USERRGBSCRIPTDIR = $$USERDATADIR/RGBScripts
unix:!macx:USERRGBSCRIPTDIR = $$USERDATADIR/rgbscripts
macx:USERRGBSCRIPTDIR = $$USERDATADIR/RGBScripts
# RGB Scripts
win32:WEBFILESDIR = Web
unix:!macx:WEBFILESDIR = $$DATADIR/web
macx:WEBFILESDIR = $$DATADIR/Web