mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
... remove $$replace and use the latest src.pro code from QWT lib (which allows in-source and out-of-source/shadow build) ($$replace - for unknown reasons - creates an empty string/fails if the input string contains mixed Upper and Lower case characters - which it happening in many file systems)
58 lines
1.3 KiB
Prolog
58 lines
1.3 KiB
Prolog
################################################################
|
|
# Qwt Widget Library
|
|
# Copyright (C) 1997 Josef Wilgen
|
|
# Copyright (C) 2002 Uwe Rathmann
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the Qwt License, Version 1.0
|
|
################################################################
|
|
|
|
# qmake project file for building the qwt libraries
|
|
|
|
QWT_ROOT = $${PWD}/..
|
|
include( $${QWT_ROOT}/qwtconfig.pri )
|
|
include( $${QWT_ROOT}/qwtbuild.pri )
|
|
include( $${QWT_ROOT}/qwtfunctions.pri )
|
|
|
|
QWT_OUT_ROOT = $${OUT_PWD}/..
|
|
|
|
TEMPLATE = lib
|
|
TARGET = $$qwtLibraryTarget(qwt)
|
|
|
|
DESTDIR = $${QWT_OUT_ROOT}/lib
|
|
|
|
contains(QWT_CONFIG, QwtDll) {
|
|
|
|
CONFIG += dll
|
|
win32|symbian: DEFINES += QT_DLL QWT_DLL QWT_MAKEDLL
|
|
}
|
|
else {
|
|
CONFIG += staticlib
|
|
}
|
|
|
|
contains(QWT_CONFIG, QwtFramework) {
|
|
|
|
CONFIG += lib_bundle
|
|
}
|
|
|
|
include ( $${PWD}/src.pri )
|
|
|
|
# Install directives
|
|
|
|
target.path = $${QWT_INSTALL_LIBS}
|
|
INSTALLS = target
|
|
|
|
CONFIG(lib_bundle) {
|
|
|
|
FRAMEWORK_HEADERS.version = Versions
|
|
FRAMEWORK_HEADERS.files = $${HEADERS}
|
|
FRAMEWORK_HEADERS.path = Headers
|
|
QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
|
|
}
|
|
else {
|
|
|
|
headers.files = $${HEADERS}
|
|
headers.path = $${QWT_INSTALL_HEADERS}
|
|
INSTALLS += headers
|
|
}
|