Skip to content

Commit

Permalink
[Snapshot] current development
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSchnizer committed Dec 16, 2024
1 parent a88935b commit 9404a07
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 15 additions & 6 deletions proto/meson.build → bact_archiver/proto/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,21 @@ py_gen = generator(protoc,
cpp_generated = cpp_gen.process('epics_event.proto')
py_generated = py_gen.process('epics_event.proto')

py_proc = custom_target('py_proto',
command: [ 'cp', '@INPUT@', '@OUTPUT@' ],
input : py_generated,
output : 'epics_event_pb2.py',
build_by_default : true)

# py_proc = custom_target('py_proto',
# command: [ 'cp', '@INPUT@', '@OUTPUT@' ],
# input : py_generated,
# output : 'epics_event_pb2.py',
# build_by_default : true)
message('install dir')
message(py.get_install_dir())
py_proc2 = configure_file(#'python_proto_as_config',
# command: [ 'proto_wrap.sh', '@INPUT@', '@OUTPUT@' ],
copy : true,
input : 'epics_event.proto',
output : 'epics_event_pb2.py',
install : true,
install_dir: py.get_install_dir(),
)
# cython extension
incdir_numpy = run_command(py,
['-c', 'import os; os.chdir(".."); import numpy; print(numpy.get_include())'],
Expand Down

0 comments on commit 9404a07

Please sign in to comment.