Skip to content

Commit 9404a07

Browse files
committed
[Snapshot] current development
1 parent a88935b commit 9404a07

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

proto/meson.build renamed to bact_archiver/proto/meson.build

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@ py_gen = generator(protoc,
1313
cpp_generated = cpp_gen.process('epics_event.proto')
1414
py_generated = py_gen.process('epics_event.proto')
1515

16-
py_proc = custom_target('py_proto',
17-
command: [ 'cp', '@INPUT@', '@OUTPUT@' ],
18-
input : py_generated,
19-
output : 'epics_event_pb2.py',
20-
build_by_default : true)
21-
16+
# py_proc = custom_target('py_proto',
17+
# command: [ 'cp', '@INPUT@', '@OUTPUT@' ],
18+
# input : py_generated,
19+
# output : 'epics_event_pb2.py',
20+
# build_by_default : true)
21+
message('install dir')
22+
message(py.get_install_dir())
23+
py_proc2 = configure_file(#'python_proto_as_config',
24+
# command: [ 'proto_wrap.sh', '@INPUT@', '@OUTPUT@' ],
25+
copy : true,
26+
input : 'epics_event.proto',
27+
output : 'epics_event_pb2.py',
28+
install : true,
29+
install_dir: py.get_install_dir(),
30+
)
2231
# cython extension
2332
incdir_numpy = run_command(py,
2433
['-c', 'import os; os.chdir(".."); import numpy; print(numpy.get_include())'],

0 commit comments

Comments
 (0)