Install CMake package version file #23

Merged
andrew merged 1 commits from 16 into main 2026-08-03 13:56:50 -04:00
Collaborator

Closes #16.

Summary:

  • generate akerrorConfigVersion.cmake from the project version
  • use SameMajorVersion to match the library ABI and SOVERSION policy
  • install the version file beside akerrorConfig.cmake

Tests:

  • cmake configure, build, and ctest (36/36)
  • install into a temporary prefix
  • find_package(akerror 2.0 REQUIRED CONFIG) succeeds against 2.0.1
  • find_package(akerror 3.0 REQUIRED CONFIG) rejects 2.0.1
Closes #16. Summary: - generate akerrorConfigVersion.cmake from the project version - use SameMajorVersion to match the library ABI and SOVERSION policy - install the version file beside akerrorConfig.cmake Tests: - cmake configure, build, and ctest (36/36) - install into a temporary prefix - find_package(akerror 2.0 REQUIRED CONFIG) succeeds against 2.0.1 - find_package(akerror 3.0 REQUIRED CONFIG) rejects 2.0.1
logikoma added 1 commit 2026-08-03 13:13:42 -04:00
Install CMake package version file
Some checks failed
libakerror CI Build / cmake_build (push) Successful in 2m48s
libakerror CI Build / coverage (push) Successful in 2m49s
libakerror CI Build / mutation_test (push) Has been cancelled
fbf95efcf4
logikoma force-pushed 16 from fbf95efcf4 to a0bdc9c6e4 2026-08-03 13:46:46 -04:00 Compare
andrew merged commit f934c77874 into main 2026-08-03 13:56:50 -04:00
Sign in to join this conversation.