Skip to content

Commit

Permalink
Enable the compilation of the YarpParatemetersHandler python bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi committed May 26, 2021
1 parent a3828bb commit 2ce889f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bindings/python/bipedal_locomotion_framework.cpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#include <BipedalLocomotion/bindings/Math/Module.h>
#include <BipedalLocomotion/bindings/ParametersHandler/Module.h>

@cmakeif FRAMEWORK_COMPILE_YarpImplementation
#include <BipedalLocomotion/bindings/ParametersHandler/YarpModule.h>
@endcmakeif FRAMEWORK_COMPILE_YarpImplementation

@cmakeif FRAMEWORK_COMPILE_System
#include <BipedalLocomotion/bindings/System/Module.h>
@endcmakeif FRAMEWORK_COMPILE_System
Expand Down Expand Up @@ -46,6 +50,10 @@ PYBIND11_MODULE(bindings, m)
py::module parametersHandlerModule = m.def_submodule("parameters_handler");
bindings::ParametersHandler::CreateModule(parametersHandlerModule);

@cmakeif FRAMEWORK_COMPILE_YarpImplementation
bindings::ParametersHandler::CreateYarpModule(parametersHandlerModule);
@endcmakeif FRAMEWORK_COMPILE_YarpImplementation

py::module mathModule = m.def_submodule("math");
bindings::Math::CreateModule(mathModule);

Expand Down

0 comments on commit 2ce889f

Please sign in to comment.