Skip to content

FIX: Add Windows export handling and downstream consumer CI - #53

Open
jhlegarreta wants to merge 1 commit into
tee-ar-ex:mainfrom
jhlegarreta:fix/ensure-dependent-windows-compilation
Open

FIX: Add Windows export handling and downstream consumer CI#53
jhlegarreta wants to merge 1 commit into
tee-ar-ex:mainfrom
jhlegarreta:fix/ensure-dependent-windows-compilation

Conversation

@jhlegarreta

@jhlegarreta jhlegarreta commented Aug 7, 2026

Copy link
Copy Markdown

Add a Windows-specific CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS setting in the top-level CMake configuration so shared-library builds on Windows export symbols explicitly.

Extend CI with a downstream consumer job that installs trx-cpp, runs a minimal find_package(trx-cpp CONFIG REQUIRED) build, and verifies the package can be consumed after the main build succeeds.

This helps catch Windows packaging/export regressions that a self-build does not surface, while keeping the existing build and test workflow intact.

Fixes #48.

Add a Windows-specific `CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS` setting in
the top-level CMake configuration so shared-library builds on Windows
export symbols explicitly.

Extend CI with a downstream consumer job that installs `trx-cpp`, runs a
minimal `find_package(trx-cpp CONFIG REQUIRED)` build, and verifies the
package can be consumed after the main build succeeds.

This helps catch Windows packaging/export regressions that a self-build
does not surface, while keeping the existing build and test workflow
intact.
@jhlegarreta jhlegarreta changed the title Fix: Add Windows export handling and downstream consumer CI FIX: Add Windows export handling and downstream consumer CI Aug 7, 2026
@jhlegarreta
jhlegarreta force-pushed the fix/ensure-dependent-windows-compilation branch from 21f15de to 4d80d41 Compare August 7, 2026 18:15
@jhlegarreta

Copy link
Copy Markdown
Author

@mattcieslak @hjmjohnson I confess that my CMake abilities are not at their best, so suggestions are welcome.

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.

Windows support

1 participant