Skip to content

Enhance CMake configuration for Rust support and testing; streamlining installation - #10

Merged
KunoVonHagen merged 3 commits into
mainfrom
feature/export-as-package
Aug 17, 2026
Merged

Enhance CMake configuration for Rust support and testing; streamlining installation#10
KunoVonHagen merged 3 commits into
mainfrom
feature/export-as-package

Conversation

@KunoVonHagen

Copy link
Copy Markdown
Collaborator

This pull request significantly improves the CMake build system and GitHub Actions release workflow for the fluvio_client_cpp project. The main focus is on automating Rust static library integration with CMake, modernizing the test and packaging setup, and providing robust find_package support for consumers. The workflow now builds and packages the library in a more standard and maintainable way, and CMake configuration is more resilient to source changes and versioning.

CMake Build System Improvements:

  • The CMake configuration now builds the Rust static library automatically, detects build type (debug/release), and ensures the library and generated headers are always up-to-date and consistent. It also adds robust error checking for missing or duplicate build artifacts. [1] [2]
  • Test executables are conditionally built based on the FLUVIO_CLIENT_CPP_BUILD_TESTS option, and test setup is refactored for maintainability.

Packaging and Installation Enhancements:

  • The installation rules now properly export include directories, add a version file, and provide a modern find_package experience for downstream consumers. [1] [2] [3]

CI/CD Workflow Updates:

  • The GitHub Actions workflow (.github/workflows/release.yml) is updated to use CMake for building, testing, and packaging, including caching, version extraction, and asset upload improvements. [1] [2]

These changes make the build, test, and packaging process more robust, reproducible, and user-friendly for both developers and consumers of the library.

…st static library, improve testing options, and streamline installation process
@KunoVonHagen KunoVonHagen self-assigned this Aug 11, 2026
@KunoVonHagen KunoVonHagen added the enhancement New feature or request label Aug 11, 2026

@stefanDeveloper stefanDeveloper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stefanDeveloper

Copy link
Copy Markdown
Member

Please resolve merge conflict.

@maldwg maldwg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@KunoVonHagen
KunoVonHagen merged commit f463624 into main Aug 17, 2026
2 checks passed
@stefanDeveloper
stefanDeveloper deleted the feature/export-as-package branch August 18, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants