comparison capnp-regen.pri @ 2045:555e3add86b2

Rename piper-cpp subrepo to piper-vamp-cpp to match the upstream repo name
author Chris Cannam
date Wed, 17 Oct 2018 15:58:13 +0100
parents 33fd562a492b
children
comparison
equal deleted inserted replaced
2044:ed3c462839b2 2045:555e3add86b2
1 1
2 capnpc.target = piper-cpp/vamp-capnp/piper.capnp.h 2 capnpc.target = piper-vamp-cpp/vamp-capnp/piper.capnp.h
3 capnpc.depends = $$PWD/piper/capnp/piper.capnp 3 capnpc.depends = $$PWD/piper/capnp/piper.capnp
4 4
5 capnpc.commands = capnp compile --src-prefix=$$PWD/piper/capnp -oc++:$$PWD/piper-cpp/vamp-capnp $$capnpc.depends 5 capnpc.commands = capnp compile --src-prefix=$$PWD/piper/capnp -oc++:$$PWD/piper-vamp-cpp/vamp-capnp $$capnpc.depends
6 6
7 macx* { 7 macx* {
8 exists(sv-dependency-builds) { 8 exists(sv-dependency-builds) {
9 capnpc.commands=$$PWD/sv-dependency-builds/osx/bin/capnp -I$$PWD/sv-dependency-builds/osx/include compile --src-prefix=$$PWD/piper/capnp -o$$PWD/sv-dependency-builds/osx/bin/capnpc-c++:$$PWD/piper-cpp/vamp-capnp $$capnpc.depends 9 capnpc.commands=$$PWD/sv-dependency-builds/osx/bin/capnp -I$$PWD/sv-dependency-builds/osx/include compile --src-prefix=$$PWD/piper/capnp -o$$PWD/sv-dependency-builds/osx/bin/capnpc-c++:$$PWD/piper-vamp-cpp/vamp-capnp $$capnpc.depends
10 } 10 }
11 } 11 }
12 12
13 win32-g++ { 13 win32-g++ {
14 capnpc.commands=$$PWD/sv-dependency-builds/win32-mingw/bin/capnp -I$$PWD/sv-dependency-builds/win32-mingw/include compile --src-prefix=$$PWD/piper/capnp -o$$PWD/sv-dependency-builds/win32-mingw/bin/capnpc-c++:$$PWD/piper-cpp/vamp-capnp $$capnpc.depends 14 capnpc.commands=$$PWD/sv-dependency-builds/win32-mingw/bin/capnp -I$$PWD/sv-dependency-builds/win32-mingw/include compile --src-prefix=$$PWD/piper/capnp -o$$PWD/sv-dependency-builds/win32-mingw/bin/capnpc-c++:$$PWD/piper-vamp-cpp/vamp-capnp $$capnpc.depends
15 } 15 }
16 16
17 win32-msvc* { 17 win32-msvc* {
18 # This config is actually for 64-bit Windows builds -- see 18 # This config is actually for 64-bit Windows builds -- see
19 # comments in noconfig.pri. 19 # comments in noconfig.pri.
24 # target path doesn't match that, the build fails before 24 # target path doesn't match that, the build fails before
25 # regenerating it. Not a problem with VC2015 for some reason. 25 # regenerating it. Not a problem with VC2015 for some reason.
26 # I hope using the relative path as target should fix it without 26 # I hope using the relative path as target should fix it without
27 # breaking the VC2015 build. 27 # breaking the VC2015 build.
28 28
29 capnpc.target = ../$$basename(PWD)/piper-cpp/vamp-capnp/piper.capnp.h 29 capnpc.target = ../$$basename(PWD)/piper-vamp-cpp/vamp-capnp/piper.capnp.h
30 capnpc.commands=$$PWD/sv-dependency-builds/win64-msvc/bin/capnp -I$$PWD/sv-dependency-builds/win64-msvc/include compile --src-prefix=$$PWD/piper/capnp -o$$PWD/sv-dependency-builds/win64-msvc/bin/capnpc-c++:$$PWD/piper-cpp/vamp-capnp $$capnpc.depends 30 capnpc.commands=$$PWD/sv-dependency-builds/win64-msvc/bin/capnp -I$$PWD/sv-dependency-builds/win64-msvc/include compile --src-prefix=$$PWD/piper/capnp -o$$PWD/sv-dependency-builds/win64-msvc/bin/capnpc-c++:$$PWD/piper-vamp-cpp/vamp-capnp $$capnpc.depends
31 } 31 }
32 32
33 QMAKE_EXTRA_TARGETS += capnpc 33 QMAKE_EXTRA_TARGETS += capnpc
34 PRE_TARGETDEPS += $$capnpc.target 34 PRE_TARGETDEPS += $$capnpc.target
35 QMAKE_CLEAN += $$capnpc.target 35 QMAKE_CLEAN += $$capnpc.target