annotate svapp.pro @ 525:3ab6a5f7aca8 msvc2015_64

Further MSVC build stuff. Committing this as-is because it's building and running now, but there's a lot to tidy up.
author Chris Cannam
date Wed, 19 Oct 2016 17:33:32 +0100
parents 85c83499be3c
children d5ca6c5bad13 4826330c4f97
rev   line source
chris@264 1
chris@264 2 TEMPLATE = lib
chris@264 3
Chris@518 4 INCLUDEPATH += ../vamp-plugin-sdk
Chris@518 5 DEFINES += HAVE_VAMP HAVE_VAMPHOSTSDK
Chris@518 6
Chris@265 7 exists(config.pri) {
Chris@265 8 include(config.pri)
Chris@265 9 }
Chris@316 10 !exists(config.pri) {
Chris@334 11
Chris@334 12 CONFIG += release
Chris@525 13 DEFINES += NDEBUG BUILD_RELEASE
Chris@525 14 DEFINES += NO_TIMING
Chris@334 15
Chris@316 16 win32-g++ {
Chris@316 17 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
Chris@316 18 LIBS += -L../sv-dependency-builds/win32-mingw/lib
Chris@316 19 }
Chris@316 20 win32-msvc* {
Chris@524 21 # We actually expect MSVC to be used only for 64-bit builds,
Chris@524 22 # though the qmake spec is still called win32-msvc*
Chris@524 23 INCLUDEPATH += ../sv-dependency-builds/win64-msvc/include
Chris@524 24 LIBS += -L../sv-dependency-builds/win64-msvc/lib
Chris@316 25 }
Chris@316 26 macx* {
Chris@316 27 INCLUDEPATH += ../sv-dependency-builds/osx/include
Chris@316 28 LIBS += -L../sv-dependency-builds/osx/lib
Chris@316 29 }
Chris@316 30
Chris@316 31 win* {
Chris@468 32 DEFINES += HAVE_PORTAUDIO
Chris@265 33 }
Chris@316 34 macx* {
Chris@468 35 DEFINES += HAVE_COREAUDIO HAVE_PORTAUDIO
Chris@316 36 }
Chris@524 37 win32-msvc* {
Chris@524 38 DEFINES += NOMINMAX _USE_MATH_DEFINES
Chris@524 39 DEFINES -= HAVE_LIBLO
Chris@524 40 }
Chris@265 41 }
chris@264 42
Chris@439 43 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11
chris@264 44 QT += network xml gui widgets
chris@264 45
chris@264 46 TARGET = svapp
chris@264 47
Chris@468 48 DEPENDPATH += . ../bqaudioio ../svcore ../svgui
Chris@468 49 INCLUDEPATH += . ../bqaudioio ../svcore ../svgui
chris@264 50 OBJECTS_DIR = o
chris@264 51 MOC_DIR = o
chris@264 52
Chris@468 53 HEADERS += audio/AudioCallbackPlaySource.h \
Chris@475 54 audio/AudioRecordTarget.h \
Chris@468 55 audio/AudioGenerator.h \
Chris@468 56 audio/ClipMixer.h \
Chris@468 57 audio/ContinuousSynth.h \
Chris@468 58 audio/PlaySpeedRangeMapper.h
Chris@305 59
Chris@468 60 SOURCES += audio/AudioCallbackPlaySource.cpp \
Chris@475 61 audio/AudioRecordTarget.cpp \
Chris@468 62 audio/AudioGenerator.cpp \
Chris@468 63 audio/ClipMixer.cpp \
Chris@468 64 audio/ContinuousSynth.cpp \
Chris@468 65 audio/PlaySpeedRangeMapper.cpp
chris@264 66
Chris@420 67 HEADERS += framework/Align.h \
Chris@420 68 framework/Document.h \
chris@264 69 framework/MainWindowBase.h \
chris@264 70 framework/SVFileReader.h \
chris@264 71 framework/TransformUserConfigurator.h \
chris@264 72 framework/VersionTester.h
chris@264 73
Chris@420 74 SOURCES += framework/Align.cpp \
Chris@420 75 framework/Document.cpp \
chris@264 76 framework/MainWindowBase.cpp \
chris@264 77 framework/SVFileReader.cpp \
chris@264 78 framework/TransformUserConfigurator.cpp \
chris@264 79 framework/VersionTester.cpp
chris@264 80