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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
#
# OpenRPT report writer and rendering engine
# Copyright (C) 2001-2016 by OpenMFG, LLC
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Please contact info@openmfg.com with any questions on this license.
#
#
# This file is included by all the other project files
# and is where options or configurations that affect all
# of the projects can be place.
#
CONFIG += release dll
# TEMPORARY HACK
win32 {
CONFIG -= dll
CONFIG += staticlib
}
macx {
CONFIG -= dll
CONFIG += staticlib
}
# NO_PNG removes dependency on libpng for Zint
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 NO_PNG
LIBEXT = $${QMAKE_EXTENSION_SHLIB}
win32-g++:LIBEXT = a
macx:LIBEXT = a
isEmpty( LIBEXT ) {
win32:LIBEXT = a
unix:LIBEXT = so
}
LIBDMTX = -ldmtx
# OpenRPT includes an embedded copy of libdmtx for platforms where this
# library is not already available. Set the environment variable
# USE_SYSTEM_DMTX in the build env to build against the system library.
USE_SYSTEM_DMTX = $$(USE_SYSTEM_DMTX)
isEmpty( USE_SYSTEM_DMTX ) {
CONFIG += bundled_dmtx
}
macx:exists(macx.pri) {
include(macx.pri)
}
win32:exists(win32.pri) {
include(win32.pri)
}
unix:exists(unix.pri) {
include(unix.pri)
}
|