changeset 1728:d2221cb43cd5 vext

Fix paths for shadow build
author Chris Cannam
date Mon, 10 Jul 2017 10:09:29 +0100
parents 580edea2489c
children 81c92307f0d3
files base.pri
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/base.pri	Fri Jul 07 21:29:55 2017 +0100
+++ b/base.pri	Mon Jul 10 10:09:29 2017 +0100
@@ -67,16 +67,16 @@
 SOURCES += piper-cpp/vamp-capnp/piper-capnp.cpp
 
 capnpc.target = piper-cpp/vamp-capnp/piper-capnp.h
-capnpc.depends = piper/capnp/piper.capnp
+capnpc.depends = $$PWD/piper/capnp/piper.capnp
 
 capnpc.commands = capnp compile --src-prefix=piper/capnp -oc++:piper-cpp/vamp-capnp $$capnpc.depends
 
 macx* {
-    capnpc.commands=./sv-dependency-builds/osx/bin/capnp -Isv-dependency-builds/osx/include compile --src-prefix=piper/capnp -osv-dependency-builds/osx/bin/capnpc-c++:piper-cpp/vamp-capnp $$capnpc.depends
+    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
 }
 
 win* {
-    capnpc.commands=./sv-dependency-builds/win64-msvc/bin/capnp -Isv-dependency-builds/win64-msvc/include compile --src-prefix=piper/capnp -osv-dependency-builds/win64-msvc/bin/capnpc-c++:piper-cpp/vamp-capnp $$capnpc.depends
+    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
 }
 
 QMAKE_EXTRA_TARGETS += capnpc