Mercurial > hg > sonic-visualiser
diff base.pri @ 1725:28302e07f851 vext
Rebuild capnp-generated files using sv-dependency-builds version of capnp tools on OSX. This would be better refactored into config and noconfig alternatives.
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Wed, 05 Jul 2017 10:37:26 +0100 |
parents | 3505d9536367 |
children | 580edea2489c |
line wrap: on
line diff
--- a/base.pri Thu Jun 29 14:16:19 2017 +0100 +++ b/base.pri Wed Jul 05 10:37:26 2017 +0100 @@ -68,7 +68,12 @@ capnpc.target = piper-cpp/vamp-capnp/piper-capnp.h capnpc.depends = piper/capnp/piper.capnp -capnpc.commands = capnpc --src-prefix=piper/capnp -oc++:piper-cpp/vamp-capnp $$capnpc.depends + +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 +} QMAKE_EXTRA_TARGETS += capnpc PRE_TARGETDEPS += $$capnpc.target