comparison svapp.pro @ 530:066d8c5f3b21 project-file-rework

Cut down vastly on the number of config.pri files and places where their contents has to be effectively duplicated without them
author Chris Cannam
date Mon, 24 Oct 2016 17:53:33 +0100
parents 4826330c4f97
children 227291052aa9
comparison
equal deleted inserted replaced
528:4826330c4f97 530:066d8c5f3b21
1 1
2 TEMPLATE = lib 2 TEMPLATE = lib
3 3
4 INCLUDEPATH += ../vamp-plugin-sdk 4 INCLUDEPATH += ../vamp-plugin-sdk
5 DEFINES += HAVE_VAMP HAVE_VAMPHOSTSDK
6 5
7 exists(config.pri) { 6 exists(config.pri) {
8 include(config.pri) 7 include(config.pri)
9 }
10 !exists(config.pri) {
11
12 CONFIG += release
13 DEFINES += NDEBUG BUILD_RELEASE
14 DEFINES += NO_TIMING
15
16 win32-g++ {
17 INCLUDEPATH += ../sv-dependency-builds/win32-mingw/include
18 LIBS += -L../sv-dependency-builds/win32-mingw/lib
19 }
20 win32-msvc* {
21 # We actually expect MSVC to be used only for 64-bit builds,
22 # though the qmake spec is still called win32-msvc*
23 INCLUDEPATH += ../sv-dependency-builds/win64-msvc/include
24 LIBS += -L../sv-dependency-builds/win64-msvc/lib
25 }
26 macx* {
27 INCLUDEPATH += ../sv-dependency-builds/osx/include
28 LIBS += -L../sv-dependency-builds/osx/lib
29 }
30
31 win* {
32 DEFINES += HAVE_PORTAUDIO
33 }
34 macx* {
35 DEFINES += HAVE_COREAUDIO HAVE_PORTAUDIO
36 }
37 win32-msvc* {
38 DEFINES += NOMINMAX _USE_MATH_DEFINES
39 DEFINES -= HAVE_LIBLO
40 }
41 } 8 }
42 9
43 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11 10 CONFIG += staticlib qt thread warn_on stl rtti exceptions c++11
44 QT += network xml gui widgets 11 QT += network xml gui widgets
45 12
48 DEPENDPATH += . ../bqaudioio ../svcore ../svgui ../piper-cpp 15 DEPENDPATH += . ../bqaudioio ../svcore ../svgui ../piper-cpp
49 INCLUDEPATH += . ../bqaudioio ../svcore ../svgui ../piper-cpp 16 INCLUDEPATH += . ../bqaudioio ../svcore ../svgui ../piper-cpp
50 OBJECTS_DIR = o 17 OBJECTS_DIR = o
51 MOC_DIR = o 18 MOC_DIR = o
52 19
53 HEADERS += audio/AudioCallbackPlaySource.h \ 20 include(files.pri)
54 audio/AudioRecordTarget.h \
55 audio/AudioGenerator.h \
56 audio/ClipMixer.h \
57 audio/ContinuousSynth.h \
58 audio/PlaySpeedRangeMapper.h
59 21
60 SOURCES += audio/AudioCallbackPlaySource.cpp \ 22 HEADERS = $$(SVAPP_HEADERS)
61 audio/AudioRecordTarget.cpp \ 23 SOURCES = $$(SVAPP_SOURCES)
62 audio/AudioGenerator.cpp \
63 audio/ClipMixer.cpp \
64 audio/ContinuousSynth.cpp \
65 audio/PlaySpeedRangeMapper.cpp
66 24
67 HEADERS += framework/Align.h \
68 framework/Document.h \
69 framework/MainWindowBase.h \
70 framework/SVFileReader.h \
71 framework/TransformUserConfigurator.h \
72 framework/VersionTester.h
73
74 SOURCES += framework/Align.cpp \
75 framework/Document.cpp \
76 framework/MainWindowBase.cpp \
77 framework/SVFileReader.cpp \
78 framework/TransformUserConfigurator.cpp \
79 framework/VersionTester.cpp
80