Skip to content

Add file-based build flavour override and broaden protobuf discovery#117

Merged
michalovits merged 1 commit into
bloomberg:mainfrom
flamble:cmake-flavour-robustness
May 29, 2026
Merged

Add file-based build flavour override and broaden protobuf discovery#117
michalovits merged 1 commit into
bloomberg:mainfrom
flamble:cmake-flavour-robustness

Conversation

@flamble
Copy link
Copy Markdown
Contributor

@flamble flamble commented May 29, 2026

Add support for a file-based build flavour override ('flavour' file in the source or build directory) alongside the existing BUILD_FLAVOUR_OVERRIDE environment variable. Also guard against errors when no flavour file exists and strip whitespace from file content.

In authproto, try CONFIG mode protobuf discovery first and fall back to MODULE mode (FindProtobuf.cmake) for broader build system compatibility.

Add support for a file-based build flavour override ('flavour' file in
the source or build directory) alongside the existing BUILD_FLAVOUR_OVERRIDE
environment variable. Also guard against errors when no flavour file
exists and strip whitespace from file content.

In authproto, try CONFIG mode protobuf discovery first and fall back to
MODULE mode (FindProtobuf.cmake) for broader build system compatibility.
@michalovits michalovits merged commit c3cdab4 into bloomberg:main May 29, 2026
3 checks passed
@flamble flamble deleted the cmake-flavour-robustness branch May 29, 2026 08:44
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.

2 participants