From 0fcfdd2c272d7be07a6a1246a39c3ed237415df7 Mon Sep 17 00:00:00 2001 From: Anol Paisal Date: Sun, 22 Sep 2024 15:57:36 +0700 Subject: [PATCH] Update buildall.py following build_test_python --- examples/buildall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/buildall.py b/examples/buildall.py index fedde0d67..c282829ff 100755 --- a/examples/buildall.py +++ b/examples/buildall.py @@ -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) @@ -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)