Part of #558
What
Four ecosystem systems have completed upstream snake_case install(EXPORT) migration, but the portfiles still reference PascalCase PACKAGE_NAME and generate snake_case wrapper config files. The wrappers can now be removed by pointing directly to the snake_case names.
- Current: Portfiles use PascalCase PACKAGE_NAME + manual snake_case wrappers
- Expected: Portfiles use snake_case PACKAGE_NAME directly, no wrappers needed
- Scope: 4 portfiles in
vcpkg-ports/
Upstream Migration Status (all CLOSED)
Why
Where
vcpkg-ports/kcenon-logger-system/portfile.cmake — PACKAGE_NAME LoggerSystem + wrapper
vcpkg-ports/kcenon-container-system/portfile.cmake — PACKAGE_NAME ContainerSystem + wrapper
vcpkg-ports/kcenon-database-system/portfile.cmake — PACKAGE_NAME DatabaseSystem + wrapper
vcpkg-ports/kcenon-network-system/portfile.cmake — PACKAGE_NAME NetworkSystem + wrapper
How
Technical Approach
For each portfile:
- Change
vcpkg_cmake_config_fixup(PACKAGE_NAME PascalCase CONFIG_PATH lib/cmake/PascalCase) to vcpkg_cmake_config_fixup(PACKAGE_NAME snake_case CONFIG_PATH lib/cmake/snake_case)
- Remove the wrapper
file(WRITE ...) blocks that generate *-config.cmake and *-config-version.cmake
- Verify
find_package(snake_case CONFIG) works without the wrapper
Acceptance Criteria
Part of #558
What
Four ecosystem systems have completed upstream snake_case
install(EXPORT)migration, but the portfiles still reference PascalCasePACKAGE_NAMEand generate snake_case wrapper config files. The wrappers can now be removed by pointing directly to the snake_case names.vcpkg-ports/Upstream Migration Status (all CLOSED)
LoggerSystemContainerSystemDatabaseSystemNetworkSystemWhy
Where
vcpkg-ports/kcenon-logger-system/portfile.cmake— PACKAGE_NAMELoggerSystem+ wrappervcpkg-ports/kcenon-container-system/portfile.cmake— PACKAGE_NAMEContainerSystem+ wrappervcpkg-ports/kcenon-database-system/portfile.cmake— PACKAGE_NAMEDatabaseSystem+ wrappervcpkg-ports/kcenon-network-system/portfile.cmake— PACKAGE_NAMENetworkSystem+ wrapperHow
Technical Approach
For each portfile:
vcpkg_cmake_config_fixup(PACKAGE_NAME PascalCase CONFIG_PATH lib/cmake/PascalCase)tovcpkg_cmake_config_fixup(PACKAGE_NAME snake_case CONFIG_PATH lib/cmake/snake_case)file(WRITE ...)blocks that generate*-config.cmakeand*-config-version.cmakefind_package(snake_case CONFIG)works without the wrapperAcceptance Criteria
find_package(logger_system CONFIG),find_package(container_system CONFIG),find_package(database_system CONFIG),find_package(network_system CONFIG)all resolve correctly