File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ endif()
1313if (FRAMEWORK_PYTHON_BINDINGS_BUILD_STANDALONE)
1414 cmake_minimum_required (VERSION 3.16 )
1515 project (BipedalLocomotionFrameworkBindings)
16+ include (GNUInstallDirs )
1617 find_package (Python3 COMPONENTS Interpreter Development REQUIRED )
1718 find_package (pybind11 REQUIRED )
1819 find_package (BipedalLocomotionFramework REQUIRED )
1920 get_filename_component (CMAKE_CURRENT_PARENT_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY )
2021 list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_PARENT_SOURCE_DIR} /cmake)
22+ include (AddBipedalLocomotionLibrary )
2123 include (AddBipedalLocomotionPythonModule )
2224endif ()
2325
Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ if(TARGET BipedalLocomotion::System)
66
77 set (H_PREFIX include/BipedalLocomotion/bindings/System)
88
9+ add_bipedal_locomotion_library (
10+ NAME BindingsSystem
11+ IS_INTERFACE
12+ PUBLIC_HEADERS ${H_PREFIX} /Advanceable.h
13+ PUBLIC_LINK_LIBRARIES BipedalLocomotion::System
14+ INSTALLATION_FOLDER bindings/System )
15+
916 add_bipedal_locomotion_python_module (
1017 NAME SystemBindings
1118 SOURCES src/Advanceable.cpp src/VariablesHandler.cpp src/LinearTask.cpp src/Module.cpp src/ITaskControllerManager.cpp src/IClock.cpp src/Clock.cpp src/WeightProvider.cpp
You can’t perform that action at this time.
0 commit comments