Skip to content

chore(cmake): polish config template for ecosystem consistency#618

Merged
kcenon merged 1 commit into
mainfrom
chore/cmake-config-polish
Mar 25, 2026
Merged

chore(cmake): polish config template for ecosystem consistency#618
kcenon merged 1 commit into
mainfrom
chore/cmake-config-polish

Conversation

@kcenon

@kcenon kcenon commented Mar 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add header comment block documenting exported targets and legacy aliases
  • Add compatibility variables (_FOUND, _INCLUDE_DIRS, _LIBRARIES) and legacy variants (MonitoringSystem_*, MONITORINGSYSTEM_*)
  • Add backward compatibility namespace aliases (MonitoringSystem:: -> monitoring_system::)
  • Add message(STATUS ...) for discovery feedback
  • Add unset() calls for temporary build-config variables (MONITORING_USE_*)

Why

Aligns monitoring_system-config.cmake.in with the conventions established by sibling ecosystem packages (database_system, network_system, container_system).

Related Issues

Test plan

  • Verify the package can be found via find_package(monitoring_system CONFIG REQUIRED)
  • Verify legacy alias targets (MonitoringSystem::monitoring_system) resolve correctly
  • Verify compatibility variables are set after find_package

Add header comment block, compatibility variables, legacy namespace
aliases (MonitoringSystem::), status message, and unset temp variables
to match the conventions used by sibling ecosystem packages.
@kcenon kcenon merged commit 396d3c6 into main Mar 25, 2026
25 checks passed
@kcenon kcenon deleted the chore/cmake-config-polish branch March 25, 2026 08:34
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.

chore(cmake): Polish config template for ecosystem consistency

1 participant