diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2017-03-05 15:20:12 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2017-03-05 17:48:16 +0300 |
commit | d04995899a6c9fbd0b738c2aa2acc2499e83bfd9 (patch) | |
tree | 325a77aff33fa5136f265c97776bcb05881efc0d /qmake/buildenv.pri | |
parent | 03908a0162540e3dfcdc2dc2102ab3b32cd08a88 (diff) |
Move .pri files and "toolchain" folder in "qmake"
Diffstat (limited to 'qmake/buildenv.pri')
-rw-r--r-- | qmake/buildenv.pri | 20 |
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 +} |