-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix CMakeLists of continuous dynamics bindings
- Loading branch information
1 parent
9f9348e
commit dda0377
Showing
1 changed file
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
# Copyright (C) 2022 Istituto Italiano di Tecnologia (IIT). All rights reserved. | ||
# This software may be modified and distributed under the terms of the | ||
# BSD-3-Clause license. | ||
if(FRAMEWORK_COMPILE_ContinuousDynamicalSystem) | ||
set(H_PREFIX include/BipedalLocomotion/bindings/ContinuousDynamicalSystem) | ||
|
||
set(H_PREFIX include/BipedalLocomotion/bindings/ContinuousDynamicalSystem) | ||
|
||
add_bipedal_locomotion_python_module( | ||
NAME ContinuousDynamicalSystemBindings | ||
SOURCES src/MultiStateWeightProvider.cpp src/LinearTimeInvariantSystem.cpp src/FloatingBaseSystemKinematics.cpp src/Module.cpp | ||
HEADERS ${H_PREFIX}/DynamicalSystem.h ${H_PREFIX}/LinearTimeInvariantSystem.h ${H_PREFIX}/FloatingBaseSystemKinematics.h ${H_PREFIX}/Integrator.h | ||
${H_PREFIX}/MultiStateWeightProvider.h | ||
${H_PREFIX}/Module.h | ||
LINK_LIBRARIES BipedalLocomotion::ContinuousDynamicalSystem | ||
TESTS tests/test_linear_system.py tests/test_floating_base_system_kinematics.py | ||
) | ||
add_bipedal_locomotion_python_module( | ||
NAME ContinuousDynamicalSystemBindings | ||
SOURCES src/MultiStateWeightProvider.cpp src/LinearTimeInvariantSystem.cpp src/FloatingBaseSystemKinematics.cpp src/Module.cpp | ||
HEADERS ${H_PREFIX}/DynamicalSystem.h ${H_PREFIX}/LinearTimeInvariantSystem.h ${H_PREFIX}/FloatingBaseSystemKinematics.h ${H_PREFIX}/Integrator.h | ||
${H_PREFIX}/MultiStateWeightProvider.h | ||
${H_PREFIX}/Module.h | ||
LINK_LIBRARIES BipedalLocomotion::ContinuousDynamicalSystem | ||
TESTS tests/test_linear_system.py tests/test_floating_base_system_kinematics.py | ||
) | ||
endif() |