Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit ec27e18

Browse files
committed
capnpc also generated the header files
1 parent ee52ab9 commit ec27e18

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

SConscript

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ Import('env')
33
# TODO: remove src-prefix and cereal from command string. can we set working directory?
44
env.Command(["gen/c/include/c++.capnp.h", "gen/c/include/java.capnp.h"], [], "mkdir -p cereal/gen/c/include && touch $TARGETS")
55
env.Command(
6-
['gen/c/car.capnp.c', 'gen/c/log.capnp.c'],
6+
['gen/c/car.capnp.c', 'gen/c/log.capnp.c', 'gen/c/car.capnp.h', 'gen/c/log.capnp.h'],
77
['car.capnp', 'log.capnp'],
88
'capnpc $SOURCES --src-prefix=cereal -o c:cereal/gen/c/')
99
env.Command(
10-
['gen/cpp/car.capnp.c++', 'gen/cpp/log.capnp.c++'],
10+
['gen/cpp/car.capnp.c++', 'gen/cpp/log.capnp.c++', 'gen/cpp/car.capnp.h', 'gen/cpp/log.capnp.h'],
1111
['car.capnp', 'log.capnp'],
1212
'capnpc $SOURCES --src-prefix=cereal -o c++:cereal/gen/cpp/')
1313

@@ -26,5 +26,3 @@ env.Library('messaging', [
2626
])
2727

2828
env.Program('messaging/bridge', ['messaging/bridge.cc'], LIBS=['messaging', 'yaml-cpp', 'zmq'])
29-
30-

0 commit comments

Comments
 (0)