annotate svapp.pro @ 524:85c83499be3c msvc2015_64

MSVC build fixes
author Chris Cannam
date Tue, 18 Oct 2016 15:56:21 +0100
parents c3648c667a0b
children 3ab6a5f7aca8
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@334 13 DEFINES += NDEBUG BUILD_RELEASE NO_TIMING
Chris@334 14
Chris@316 15 win32-g++ {
Chris@316 16 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
Chris@316 17 LIBS += -L../sv-dependency-builds/win32-mingw/lib
Chris@316 18 }
Chris@316 19 win32-msvc* {
Chris@524 20 # We actually expect MSVC to be used only for 64-bit builds,
Chris@524 21 # though the qmake spec is still called win32-msvc*
Chris@524 22 INCLUDEPATH += ../sv-dependency-builds/win64-msvc/include
Chris@524 23 LIBS += -L../sv-dependency-builds/win64-msvc/lib
Chris@316 24 }
Chris@316 25 macx* {
Chris@316 26 INCLUDEPATH += ../sv-dependency-builds/osx/include
Chris@316 27 LIBS += -L../sv-dependency-builds/osx/lib
Chris@316 28 }
Chris@316 29
Chris@316 30 win* {
Chris@468 31 DEFINES += HAVE_PORTAUDIO
Chris@265 32 }
Chris@316 33 macx* {
Chris@468 34 DEFINES += HAVE_COREAUDIO HAVE_PORTAUDIO
Chris@316 35 }
Chris@524 36 win32-msvc* {
Chris@524 37 DEFINES += NOMINMAX _USE_MATH_DEFINES
Chris@524 38 DEFINES -= HAVE_LIBLO
Chris@524 39 }
Chris@265 40 }
chris@264 41
Chris@439 42 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11
chris@264 43 QT += network xml gui widgets
chris@264 44
chris@264 45 TARGET = svapp
chris@264 46
Chris@468 47 DEPENDPATH += . ../bqaudioio ../svcore ../svgui
Chris@468 48 INCLUDEPATH += . ../bqaudioio ../svcore ../svgui
chris@264 49 OBJECTS_DIR = o
chris@264 50 MOC_DIR = o
chris@264 51
Chris@468 52 HEADERS += audio/AudioCallbackPlaySource.h \
Chris@475 53 audio/AudioRecordTarget.h \
Chris@468 54 audio/AudioGenerator.h \
Chris@468 55 audio/ClipMixer.h \
Chris@468 56 audio/ContinuousSynth.h \
Chris@468 57 audio/PlaySpeedRangeMapper.h
Chris@305 58
Chris@468 59 SOURCES += audio/AudioCallbackPlaySource.cpp \
Chris@475 60 audio/AudioRecordTarget.cpp \
Chris@468 61 audio/AudioGenerator.cpp \
Chris@468 62 audio/ClipMixer.cpp \
Chris@468 63 audio/ContinuousSynth.cpp \
Chris@468 64 audio/PlaySpeedRangeMapper.cpp
chris@264 65
Chris@420 66 HEADERS += framework/Align.h \
Chris@420 67 framework/Document.h \
chris@264 68 framework/MainWindowBase.h \
chris@264 69 framework/SVFileReader.h \
chris@264 70 framework/TransformUserConfigurator.h \
chris@264 71 framework/VersionTester.h
chris@264 72
Chris@420 73 SOURCES += framework/Align.cpp \
Chris@420 74 framework/Document.cpp \
chris@264 75 framework/MainWindowBase.cpp \
chris@264 76 framework/SVFileReader.cpp \
chris@264 77 framework/TransformUserConfigurator.cpp \
chris@264 78 framework/VersionTester.cpp
chris@264 79