Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavide Beatrici <davidebeatrici@gmail.com>2017-03-05 15:20:12 +0300
committerDavide Beatrici <davidebeatrici@gmail.com>2017-03-05 17:48:16 +0300
commitd04995899a6c9fbd0b738c2aa2acc2499e83bfd9 (patch)
tree325a77aff33fa5136f265c97776bcb05881efc0d /qmake/buildenv.pri
parent03908a0162540e3dfcdc2dc2102ab3b32cd08a88 (diff)
Move .pri files and "toolchain" folder in "qmake"
Diffstat (limited to 'qmake/buildenv.pri')
-rw-r--r--qmake/buildenv.pri20
1 files changed, 20 insertions, 0 deletions
diff --git a/qmake/buildenv.pri b/qmake/buildenv.pri
new file mode 100644
index 000000000..cfdcd80d4
--- /dev/null
+++ b/qmake/buildenv.pri
@@ -0,0 +1,20 @@
+# Copyright 2005-2017 The Mumble Developers. All rights reserved.
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file at the root of the
+# Mumble source tree or at <https://www.mumble.info/LICENSE>.
+
+# This .pri detects whether Mumble is being built in a
+# Mumble buildenv, and if so, sets the buildenv CONFIG.
+#
+# It also adds USE_BUILDENV as a preprocessor define
+# such that code can detect the presence of a buildenv
+# at build time.
+
+MUMBLE_PREFIX=$$(MUMBLE_PREFIX)
+!isEmpty(MUMBLE_PREFIX) {
+ CONFIG += buildenv
+}
+
+CONFIG(buildenv) {
+ DEFINES += USE_BUILDENV
+}