annotate noconfig.pri @ 1284:5c39d179b9a1 project-file-rework

Add basic noconfig.pri
author Chris Cannam
date Tue, 25 Oct 2016 13:07:36 +0100
parents
children ac6db2ee1beb
rev   line source
Chris@1284 1
Chris@1284 2 CONFIG += release
Chris@1284 3 DEFINES += NDEBUG BUILD_RELEASE
Chris@1284 4 DEFINES += NO_TIMING
Chris@1284 5
Chris@1284 6 win32-g++ {
Chris@1284 7 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
Chris@1284 8 LIBS += -Lrelease -Lsv-dependency-builds/win32-mingw/lib
Chris@1284 9 }
Chris@1284 10
Chris@1284 11 win32-msvc* {
Chris@1284 12 # We actually expect MSVC to be used only for 64-bit builds,
Chris@1284 13 # though the qmake spec is still called win32-msvc*
Chris@1284 14 INCLUDEPATH += sv-dependency-builds/win64-msvc/include
Chris@1284 15 # bah, this is happening even if not debug build
Chris@1284 16 # CONFIG(debug) {
Chris@1284 17 # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \
Chris@1284 18 # -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib/debug \
Chris@1284 19 # -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib
Chris@1284 20 # }
Chris@1284 21 CONFIG(release) {
Chris@1284 22 LIBS += -Lrelease \
Chris@1284 23 -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib
Chris@1284 24 }
Chris@1284 25 }
Chris@1284 26
Chris@1284 27 mac* {
Chris@1284 28 INCLUDEPATH += sv-dependency-builds/osx/include
Chris@1284 29 LIBS += -Lsv-dependency-builds/osx/lib
Chris@1284 30 }
Chris@1284 31
Chris@1284 32 DEFINES += HAVE_BZ2 HAVE_FFTW3 HAVE_FFTW3F HAVE_SNDFILE HAVE_SAMPLERATE HAVE_VAMP HAVE_VAMPHOSTSDK HAVE_RUBBERBAND HAVE_DATAQUAY HAVE_LIBLO HAVE_MAD HAVE_ID3TAG HAVE_PORTAUDIO
Chris@1284 33
Chris@1284 34 LIBS += -lbz2 -lrubberband -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -llo
Chris@1284 35
Chris@1284 36 win* {
Chris@1284 37 DEFINES += NOMINMAX _USE_MATH_DEFINES
Chris@1284 38 DEFINES -= HAVE_LIBLO
Chris@1284 39 LIBS += -lwinmm -lws2_32
Chris@1284 40 }
Chris@1284 41 win32-msvc* {
Chris@1284 42 LIBS -= -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -lsord-0 -lserd-0 -llo
Chris@1284 43 LIBS += -lsord -lserd -ladvapi32
Chris@1284 44 }
Chris@1284 45 macx* {
Chris@1284 46 DEFINES += HAVE_COREAUDIO
Chris@1284 47 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
Chris@1284 48 }
Chris@1284 49
Chris@1284 50
Chris@1284 51