Skip to content

Nanobind python bindings + jrl-cmakemodulesv2 + nix - #143

Open
arntanguy wants to merge 17 commits into
masterfrom
nix-nanobind
Open

Nanobind python bindings + jrl-cmakemodulesv2 + nix#143
arntanguy wants to merge 17 commits into
masterfrom
nix-nanobind

Conversation

@arntanguy

@arntanguy arntanguy commented May 8, 2026

Copy link
Copy Markdown
Contributor

Superseeds #138
See also jrl-umi3218/SpaceVecAlg#74

@arntanguy
arntanguy force-pushed the nix-nanobind branch 2 times, most recently from 00783ae to d937692 Compare May 8, 2026 11:16
- add_subdirectory(binding/nanobind) was nested inside
  if(NANOBIND_DOCUMENTATION) instead of if(NANOBIND_BINDINGS), so the
  nanobind module was never built unless documentation was also enabled.

- The leftover find_package(tinyxml2 QUIET NO_MODULE) pre-check (dead
  code from before the jrl-cmakemodules v2 migration) ran before
  jrl_find_package(tinyxml2 CONFIG REQUIRED), causing the latter to see
  tinyxml2::tinyxml2 already imported and skip its own target-tracking.
  This meant RBDynParsers' generated dependencies.cmake never contained
  find_dependency(tinyxml2), breaking consumers (e.g. mc_rtc) that link
  against RBDyn::Parsers.

Author:    ThomasDuvinage <t.duvinage@outlook.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants