Mercurial > hg > sonic-visualiser
view platform-dataquay.pri @ 1976:810a0b8f5472 c++14
Requiring c++14 is not going to work for Travis (because we want to support a Qt version too old to know about the c++14 config flag) or for our AppImage build (because we want to run on distros to old to support the relevant gcc ABI). So instead we try to confine the C++ standard selection to one place (config/noconfig) and revert to c++11 if the compiler is too old to know about c++14. All of the actual SV code remains c++11, and we assume we build against an older version of capnproto when we want to perform a c++11 build.
author | Chris Cannam |
---|---|
date | Fri, 31 Aug 2018 13:41:27 +0100 |
parents | 714f8dad57bc |
children |
line wrap: on
line source
exists(config.pri) { include(./config.pri) } !exists(config.pri) { include(./noconfig.pri) } CONFIG += staticlib DEFINES -= USE_REDLAND QMAKE_CXXFLAGS -= -I/usr/include/rasqal -I/usr/include/raptor2 QMAKE_CXXFLAGS -= -Werror EXTRALIBS -= -lrdf DEFINES += USE_SORD # Libraries and paths should be added by config.pri win32-g++ { INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include LIBS += -L../../sv-dependency-builds/win32-mingw/lib } win32-msvc* { # We actually expect MSVC to be used only for 64-bit builds, # though the qmake spec is still called win32-msvc* INCLUDEPATH += ../sv-dependency-builds/win64-msvc/include LIBS += -L../../sv-dependency-builds/win64-msvc/lib } mac* { INCLUDEPATH += ../sv-dependency-builds/osx/include LIBS += -L../sv-dependency-builds/osx/lib }