Mercurial > hg > sonic-visualiser
annotate config.pri.in @ 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 | cc28ca5aa4ba |
children | 32718f05903d |
rev | line source |
---|---|
Chris@361 | 1 |
Chris@361 | 2 CONFIG += @QMAKE_CONFIG@ |
Chris@350 | 3 |
Chris@1753 | 4 PREFIX_PATH = @prefix@ |
Chris@1753 | 5 |
Chris@350 | 6 DEFINES += @HAVES@ |
Chris@350 | 7 |
Chris@355 | 8 QMAKE_CC = @CC@ |
Chris@355 | 9 QMAKE_CXX = @CXX@ |
Chris@356 | 10 QMAKE_LINK = @CXX@ |
Chris@355 | 11 |
Chris@350 | 12 QMAKE_CFLAGS += @CFLAGS@ |
Chris@350 | 13 QMAKE_CXXFLAGS += @CXXFLAGS@ |
Chris@564 | 14 QMAKE_LFLAGS += @LDFLAGS@ |
Chris@350 | 15 |
Chris@1976 | 16 CONFIG += @CXXSTANDARD@ |
Chris@1976 | 17 |
Chris@1831 | 18 linux*:LIBS += -L$$PWD -lbase -lasound -ldl |
Chris@353 | 19 |
Chris@564 | 20 macx*:DEFINES += HAVE_COREAUDIO |
Chris@564 | 21 macx*:LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices |
Chris@353 | 22 |
Chris@350 | 23 LIBS += @LIBS@ |
Chris@350 | 24 |
Chris@1917 | 25 linux*:LIBS -= -ljack |
Chris@1917 | 26 |
Chris@1917 | 27 DEFINES += HAVE_PIPER HAVE_PLUGIN_CHECKER_HELPER DYNAMIC_JACK |