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

buildenv.pri « qmake - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 664cebfd55ecba19f6b5cc444845ac02d13cd5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2005-2020 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
}