comparison 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
comparison
equal deleted inserted replaced
1283:ca5dcee081ef 1284:5c39d179b9a1
1
2 CONFIG += release
3 DEFINES += NDEBUG BUILD_RELEASE
4 DEFINES += NO_TIMING
5
6 win32-g++ {
7 INCLUDEPATH += sv-dependency-builds/win32-mingw/include
8 LIBS += -Lrelease -Lsv-dependency-builds/win32-mingw/lib
9 }
10
11 win32-msvc* {
12 # We actually expect MSVC to be used only for 64-bit builds,
13 # though the qmake spec is still called win32-msvc*
14 INCLUDEPATH += sv-dependency-builds/win64-msvc/include
15 # bah, this is happening even if not debug build
16 # CONFIG(debug) {
17 # LIBS += -NODEFAULTLIB:MSVCRT -Ldebug \
18 # -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib/debug \
19 # -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib
20 # }
21 CONFIG(release) {
22 LIBS += -Lrelease \
23 -L../sonic-visualiser/sv-dependency-builds/win64-msvc/lib
24 }
25 }
26
27 mac* {
28 INCLUDEPATH += sv-dependency-builds/osx/include
29 LIBS += -Lsv-dependency-builds/osx/lib
30 }
31
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
33
34 LIBS += -lbz2 -lrubberband -lfftw3 -lfftw3f -lsndfile -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -logg -lmad -lid3tag -lportaudio -lsamplerate -lz -lsord-0 -lserd-0 -llo
35
36 win* {
37 DEFINES += NOMINMAX _USE_MATH_DEFINES
38 DEFINES -= HAVE_LIBLO
39 LIBS += -lwinmm -lws2_32
40 }
41 win32-msvc* {
42 LIBS -= -lFLAC -logg -lvorbis -lvorbisenc -lvorbisfile -lsord-0 -lserd-0 -llo
43 LIBS += -lsord -lserd -ladvapi32
44 }
45 macx* {
46 DEFINES += HAVE_COREAUDIO
47 LIBS += -framework CoreAudio -framework CoreMidi -framework AudioUnit -framework AudioToolbox -framework CoreFoundation -framework CoreServices -framework Accelerate
48 }
49
50
51