Skip to content

Commit

Permalink
Update buildall.py following build_test_python
Browse files Browse the repository at this point in the history
  • Loading branch information
Apaisal committed Sep 22, 2024
1 parent 75a53d9 commit 0fcfdd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/buildall.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def build_with_meson():
'examples/zmqproxy']
builddir = 'build'

meson_setup = ['meson', 'setup', builddir]
meson_setup = ['meson', 'setup', builddir, "-Denable_python3_bindings=true", "-Duse_rtable=true"]
meson_compile = ['ninja', '-C', builddir]
subprocess.check_call(meson_setup)
subprocess.check_call(meson_compile + targets)
Expand All @@ -30,7 +30,7 @@ def build_with_cmake():
'examples/zmqproxy']
builddir = 'build'

cmake_setup = ['cmake', '-GNinja', '-B' + builddir]
cmake_setup = ['cmake', '-GNinja', '-B' + builddir, "-DCSP_ENABLE_PYTHON3_BINDINGS=1", "-DCSP_USE_RTABLE=1"]
cmake_compile = ['ninja', '-C', builddir]
subprocess.check_call(cmake_setup)
subprocess.check_call(cmake_compile + targets)
Expand Down

0 comments on commit 0fcfdd2

Please sign in to comment.