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

TestServerResolver.pro « TestServerResolver « tests « src - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eab33017376f886a0838d314d930a115564105fb (plain)
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
# Copyright 2005-2019 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>.

include(../test.pri)
include(../../../qmake/qt.pri)

QT *= network

TARGET = TestServerResolver
SOURCES *= TestServerResolver.cpp HostAddress.cpp ServerResolver_qt5.cpp ServerResolverRecord.cpp
HEADERS *= HostAddress.h ServerResolver.h ServerResolverRecord.h

isEqual(QT_MAJOR_VERSION, 4) {
  CONFIG *= no-srv
}

CONFIG(no-srv) {
  DEFINES += USE_NO_SRV
  SOURCES -= ServerResolver_qt5.cpp
  SOURCES *= ServerResolver_nosrv.cpp
}

win32:LIBS *= -lws2_32