-
Notifications
You must be signed in to change notification settings - Fork 457
CMake: add BUILD_STANDALONE_PYTHON_INTERFACE option #2714
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: devel
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 Hi,
This is a reminder message to assign an extra build label to this Pull Request if needed.
By default, this PR will be build with minimal build options (URDF support and Python bindings)
The possible extra labels are:
- build_collision (build Pinocchio with coal support)
- build_casadi (build Pinocchio with CasADi support)
- build_autodiff (build Pinocchio with CppAD support)
- build_codegen (build Pinocchio with CppADCodeGen support)
- build_extra (build Pinocchio with extra algorithms)
- build_mpfr (build Pinocchio with Boost.Multiprecision support)
- build_sdf (build Pinocchio with SDF parser)
- build_accelerate (build Pinocchio with APPLE Accelerate framework support)
- build_all (build Pinocchio with ALL the options stated above)
Thanks.
The Pinocchio development team.
6a5b4fa
to
601786d
Compare
@@ -446,10 +450,14 @@ function(ADD_WINDOWS_DLL_PATH_TO_TEST TEST_NAME) | |||
endfunction() | |||
|
|||
# --- MAIN LIBRARY ------------------------------------------------------------- | |||
add_subdirectory(src) | |||
if(NOT BUILD_STANDALONE_PYTHON_INTERFACE) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a variable called: BUILD_MAIN_PROJECT_AND_ASSOCIATED_OUPUTS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean something like this ?
set(BUILD_MAIN_PROJECT_AND_ASSOCIATED_OUPUTS (NOT BUILD_STANDALONE_PYTHON_INTERFACE))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
be83604
to
33565b1
Compare
8199671
to
56b581c
Compare
9a9edb1
to
3841cef
Compare
Follows coal-library/coal#658
Still not tested enough, but it already seems good in multiple tests