diff --git a/backend/src/Systems/CosseratRods/Python/Generators/BindPyElasticaInterface.hpp b/backend/src/Systems/CosseratRods/Python/Generators/BindPyElasticaInterface.hpp index 9e1ea0cd..1a00e4b8 100644 --- a/backend/src/Systems/CosseratRods/Python/Generators/BindPyElasticaInterface.hpp +++ b/backend/src/Systems/CosseratRods/Python/Generators/BindPyElasticaInterface.hpp @@ -84,7 +84,7 @@ namespace py_bindings { using Variable = tmpl::type_from; using VariableTag = ::blocks::parameter_t; std::string help_str = - "Refer to documentation of " + typeid(v).name(); + std::string("Refer to documentation of ") + typeid(v).name(); context.def_property( tag_to_method_map(VariableTag{}).c_str(), +[](type& self) { return ::blocks::get(self); }, diff --git a/backend/src/meson.build b/backend/src/meson.build index 3b39caa3..ddc2364e 100644 --- a/backend/src/meson.build +++ b/backend/src/meson.build @@ -59,3 +59,15 @@ _PyTags = py.extension_module( install: true, subdir: package, ) + +_PyCosseratRods = py.extension_module( + '_PyCosseratRods', + sources: [ + 'Systems/CosseratRods/Python/BindCosseratRod.cpp', + 'Systems/CosseratRods/Python/Bindings.cpp', + ], + dependencies: py_deps + blaze_deps + brigand_dep, + link_language: 'cpp', + install: true, + subdir: package, +)