comparison capnp-regen.pri @ 1731:5185ee58c44b vext

Pull out capnp-regen, update CI configs
author Chris Cannam
date Mon, 10 Jul 2017 12:55:47 +0100
parents
children cb56e83cc0b6
comparison
equal deleted inserted replaced
1730:7aa88d988abb 1731:5185ee58c44b
1
2 capnpc.target = piper-cpp/vamp-capnp/piper-capnp.h
3 capnpc.depends = $$PWD/piper/capnp/piper.capnp
4
5 capnpc.commands = capnp compile --src-prefix=$$PWD/piper/capnp -oc++:$$PWD/piper-cpp/vamp-capnp $$capnpc.depends
6
7 macx* {
8 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 }
10
11 win32-msvc* {
12 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
13 }
14
15 QMAKE_EXTRA_TARGETS += capnpc
16 PRE_TARGETDEPS += $$capnpc.target
17