Skip to content

Export datum_config target for downstream linkage (#28)#29

Merged
rolker merged 1 commit into
jazzyfrom
feature/issue-28
Jun 23, 2026
Merged

Export datum_config target for downstream linkage (#28)#29
rolker merged 1 commit into
jazzyfrom
feature/issue-28

Conversation

@rolker

@rolker rolker commented Jun 23, 2026

Copy link
Copy Markdown
Owner

Summary

Export the datum_config library target so downstream packages can link
resolve_datum/load_datum_config via find_package(mru_transform).

datum_config was installed bare (install(TARGETS datum_config LIBRARY DESTINATION lib)) — not in the export_${PROJECT_NAME} set — so a consumer got
the installed header + .so on disk but no linkable imported target. This
moves it into the existing package export set and exports the transitive
yaml-cpp dependency.

Pure packaging/export change — no source change, test_datum_config unaffected.

Closes #28.

Why now

The Chart-prior importer (rolker/cube_bathymetry#44, A2 of
rolker/unh_marine_autonomy#163) calls resolve_datum/load_datum_config from
cube_bathymetry to convert the contour prior to ellipsoidal Chart tiles —
reusing this datum core rather than duplicating the polygon/precedence logic.

Verification

  • colcon build clean (the only stderr is pre-existing geodesy -Wparentheses /
    unused-param warnings, unrelated).
  • ament_lint_cmake: No problems found.
  • Install now emits the imported target and the dep:
    • export_mru_transformExport.cmake: add_library(mru_transform::datum_config SHARED IMPORTED)
    • ament_cmake_export_dependencies-extras.cmake: …;tf2_ros;yaml-cpp

Authored-By: Claude Code Agent
Model: Claude Opus 4.8 (1M context)

resolve_datum/load_datum_config live in the datum_config library, which was
installed bare (not in the export set) — find_package(mru_transform) yielded no
linkable imported target. Add datum_config to export_${PROJECT_NAME} and export
the transitive yaml-cpp dependency so cube_bathymetry's chart-prior importer
(rolker/unh_marine_autonomy#163) can reuse the datum core.

Pure packaging change; no source change. Verified: install now emits
mru_transform::datum_config + yaml-cpp in exported deps.

Closes #28

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 23, 2026 10:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@rolker
rolker merged commit 52cb640 into jazzy Jun 23, 2026
1 check failed
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.

Export datum_config target so resolve_datum is linkable downstream

2 participants