mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
71 lines
2.1 KiB
Plaintext
71 lines
2.1 KiB
Plaintext
################################################################
|
|
# 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 internal options
|
|
######################################################################
|
|
|
|
CONFIG += qt
|
|
CONFIG += warn_on
|
|
CONFIG += no_keywords
|
|
CONFIG += silent
|
|
|
|
######################################################################
|
|
# release/debug mode
|
|
######################################################################
|
|
|
|
win32 {
|
|
# On Windows you can't mix release and debug libraries.
|
|
# The designer is built in release mode. If you like to use it
|
|
# you need a release version. For your own application development you
|
|
# might need a debug version.
|
|
# Enable debug_and_release + build_all if you want to build both.
|
|
|
|
CONFIG += debug_and_release
|
|
CONFIG += build_all
|
|
}
|
|
else {
|
|
|
|
# CONFIG += release
|
|
CONFIG += debug
|
|
|
|
VER_MAJ = $${QWT_VER_MAJ}
|
|
VER_MIN = $${QWT_VER_MIN}
|
|
VER_PAT = $${QWT_VER_PAT}
|
|
VERSION = $${QWT_VERSION}
|
|
}
|
|
|
|
linux-g++ {
|
|
# CONFIG += separate_debug_info
|
|
}
|
|
|
|
######################################################################
|
|
# paths for building qwt
|
|
######################################################################
|
|
|
|
MOC_DIR = moc
|
|
RCC_DIR = resources
|
|
!debug_and_release {
|
|
OBJECTS_DIR = obj
|
|
}
|
|
|
|
unix {
|
|
|
|
exists( $${QMAKE_LIBDIR_QT}/libqwt.* ) {
|
|
|
|
# On some Linux distributions the Qwt libraries are installed
|
|
# in the same directory as the Qt libraries. Unfortunately
|
|
# qmake always adds QMAKE_LIBDIR_QT at the beginning of the
|
|
# linker path, so that the installed libraries will be
|
|
# used instead of the local ones.
|
|
|
|
error( "local build will conflict with $${QMAKE_LIBDIR_QT}/libqwt.*" )
|
|
}
|
|
}
|