mumble/plugins/plugins.pri
Mikkel Krautz 6c2cf49e4c plugins.pri, mumble_plugin_win32.h: add CONFIG(no-plugin-legacy-ptr) to disable use of non-explicit mumble_plugin_win32.h header.
The idea is that we can use the CONFIG option until we've fixed the
remaining plugins.

Once all plugins have been transitioned over to the new explicit
pointer types, we can drop the mumble_plugin_win32.h header and
point people to mumble_plugin_win32_x86.h and mumble_plugin_win32_x64.h.
2016-06-20 22:40:12 +02:00

33 lines
720 B
Plaintext

# Copyright 2005-2016 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(../compiler.pri)
TEMPLATE = lib
CONFIG += plugin debug_and_release warn_on
CONFIG -= qt
DIST *= mumble_plugin.h
CONFIG(static) {
CONFIG -= static
CONFIG += shared
CONFIG += qt_dynamic_lookup
}
!CONFIG(no-plugin-legacy-ptr) {
DEFINES += USE_PLUGIN_LEGACY_PTR
}
CONFIG(debug, debug|release) {
CONFIG += console
DESTDIR = ../../debug/plugins
}
CONFIG(release, debug|release) {
DESTDIR = ../../release/plugins
}
include(../symbols.pri)