Mercurial > hg > sonic-visualiser
comparison 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 |
comparison
equal
deleted
inserted
replaced
1975:18fb91db5311 | 1976:810a0b8f5472 |
---|---|
11 | 11 |
12 QMAKE_CFLAGS += @CFLAGS@ | 12 QMAKE_CFLAGS += @CFLAGS@ |
13 QMAKE_CXXFLAGS += @CXXFLAGS@ | 13 QMAKE_CXXFLAGS += @CXXFLAGS@ |
14 QMAKE_LFLAGS += @LDFLAGS@ | 14 QMAKE_LFLAGS += @LDFLAGS@ |
15 | 15 |
16 CONFIG += @CXXSTANDARD@ | |
17 | |
16 linux*:LIBS += -L$$PWD -lbase -lasound -ldl | 18 linux*:LIBS += -L$$PWD -lbase -lasound -ldl |
17 | 19 |
18 macx*:DEFINES += HAVE_COREAUDIO | 20 macx*:DEFINES += HAVE_COREAUDIO |
19 macx*:LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices | 21 macx*:LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices |
20 | 22 |