Skip to content

externpro 26.01.1-41-g49be750#8

Merged
smanders merged 6 commits into
xprofrom
xpupdate-26.01.1-41-g49be750-26425121247-1
May 26, 2026
Merged

externpro 26.01.1-41-g49be750#8
smanders merged 6 commits into
xprofrom
xpupdate-26.01.1-41-g49be750-26425121247-1

Conversation

@smanders
Copy link
Copy Markdown
Collaborator

Summary

Update externpro submodule to 26.01.1-41-g49be750

Changes

  • Updated .devcontainer to externpro 26.01.1-41-g49be750
  • Previous HEAD: 0ac4bac86f2f25110dcf941fb94820bd79c061ec
  • New HEAD: 49be7504e19dbad58d8166f98ef0c14b942ea58b
  • Updated dependency files
    • Files:
      • xprodeps.md
  • Created .github/release-tag.json (tag: xpv3.14.0.6)
    • Optional: add the "release:tag" label to trigger tagging, release builds, and draft release notes
  • If you add the "release:tag" label, the tag will be `xpv3.14.0.6`
  • Updated caller workflows to match templates
  • CMakePresets.json review needed
    • See details below

Workflow Update Report

  • ✓ xpbuild.yml: Synced from template
  • ✓ xpinit.yml: Created new workflow from template
  • ✓ xprelease.yml: Synced from template
  • ✓ xptag.yml: Synced from template

CMakePresets.json

  • Auto-fix: replaced .devcontainer/cmake/presets/xpWindowsVs2022.json include and staged CMakePresets.json

This PR was created automatically by GitHub Actions

smanders and others added 6 commits May 25, 2026 18:01
Replace variable CMAKE_NAMESPACE with hardcoded protobuf namespace for all
targets and update debug postfix to use protobuf-specific variable.

Changes:
- Use protobuf:: namespace for all target aliases and exports instead of ${CMAKE_NAMESPACE}
- Set protobuf_DEBUG_POSTFIX from CMAKE_DEBUG_POSTFIX if defined, otherwise default to "d"
- Update all library targets (libprotobuf-lite, libprotobuf, libprotoc) to use protobuf_DEBUG_POSTFIX
- Update protobuf-config.cmake.in and protobuf-module.cmake.in to use protobuf:: targets
- Update examples to link against protobuf::libprotobuf

This ensures consistent target naming across the protobuf package and
allows external control of debug postfix via CMAKE_DEBUG_POSTFIX (defined by externpro).

- Several of these changes (using protobuf:: namespace especially) now match the upstream cmake, reducing the number of changes in the patch of this project
- These changes follow the direction that the Package Name and Target Namespace should match as described in issue externpro/externpro#307
- Update minimum CMake version from 3.31 to 4.3
- Remove XP_NAMESPACE and xproinc.cmake inclusion (now part of CMakePresets)
- add CMAKE_EXPERIMENTAL_GENERATE_SBOM in presets
- Package name and Target Namespace now match
- Make xpExternPackage conditional 'if(COMMAND' and move to end of CMakeLists.txt
- Repo's protobuf-config installed as protobuf-config-orig
  - see externpro/externpro#308 (comment)
  - avoid collision with xpExternPackage() installed protobuf-config
- Auto-infer dependencies (zlib)
- Add FIND_XPRO_CMAKE to force cmake script mode instead of CPS for this package
  because of CMake Warning detailed below

CMake Warning in [...]/share/cps/protobuf.cps:
  component "protobuf::protoc" has unknown type "executable" and was not
  imported
@smanders smanders added dependencies dependency updates xpupdate externpro update automation release:tag Tag release on merge labels May 26, 2026
@smanders smanders merged commit e897a28 into xpro May 26, 2026
22 checks passed
@smanders smanders deleted the xpupdate-26.01.1-41-g49be750-26425121247-1 branch May 26, 2026 00:34
@smanders
Copy link
Copy Markdown
Collaborator Author

issue externpro/externpro#322

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies dependency updates release:tag Tag release on merge xpupdate externpro update automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant