mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
This refactors a lot of the common code from each test file into a test.pri file, which is then included by all of our tests.
29 lines
802 B
Plaintext
29 lines
802 B
Plaintext
# 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>.
|
|
|
|
# Common include file for tests.
|
|
|
|
include(../../compiler.pri)
|
|
|
|
TEMPLATE = app
|
|
QT = core testlib
|
|
CONFIG += testcase
|
|
CONFIG += thread warn_on
|
|
CONFIG -= app_bundle
|
|
|
|
# We build this test without 'gui' in QT,
|
|
# but we include the QtGui headers from
|
|
# murmur_pch.h. This causes an error when Qt
|
|
# tries to find the OpenGL headers to use, since
|
|
# we're missing the include paths from QtGui's
|
|
# .pri files. Define QT_NO_OPENGL to avoid these
|
|
# build errors.
|
|
DEFINES += QT_NO_OPENGL
|
|
|
|
LANGUAGE = C++
|
|
|
|
VPATH *= ../..
|
|
INCLUDEPATH *= ../.. ../../murmur ../../mumble
|