annotate 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 |
rev |
line source |
Chris@1731
|
1
|
Chris@1731
|
2 capnpc.target = piper-cpp/vamp-capnp/piper-capnp.h
|
Chris@1731
|
3 capnpc.depends = $$PWD/piper/capnp/piper.capnp
|
Chris@1731
|
4
|
Chris@1731
|
5 capnpc.commands = capnp compile --src-prefix=$$PWD/piper/capnp -oc++:$$PWD/piper-cpp/vamp-capnp $$capnpc.depends
|
Chris@1731
|
6
|
Chris@1731
|
7 macx* {
|
Chris@1731
|
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
|
Chris@1731
|
9 }
|
Chris@1731
|
10
|
Chris@1731
|
11 win32-msvc* {
|
Chris@1731
|
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
|
Chris@1731
|
13 }
|
Chris@1731
|
14
|
Chris@1731
|
15 QMAKE_EXTRA_TARGETS += capnpc
|
Chris@1731
|
16 PRE_TARGETDEPS += $$capnpc.target
|
Chris@1731
|
17
|