Skip to content

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

Merged
frheault merged 1 commit into
tee-ar-ex:mainfrom
jhlegarreta:fix/ensure-dependent-windows-compilation
Sep 3, 2026
Merged

frheault merged 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
Contributor

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
Contributor Author

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

@frheault
frheault merged commit 5cf07d1 into tee-ar-ex:main Sep 3, 2026
@jhlegarreta

Copy link
Copy Markdown
Contributor Author

I know the CI is not working as expected here; will try to have a look at it over the next few days.

@jhlegarreta

Copy link
Copy Markdown
Contributor Author

Re #53 (comment): I see that the failures were addressed in 6913628, so no further action is required. Thanks @frheault for having taken the time to address this.

@jhlegarreta
jhlegarreta deleted the fix/ensure-dependent-windows-compilation branch September 10, 2026 19:10
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

2 participants