Skip to content

fix: ship Debug and Release libs in Windows package (#1298) - #1301

Merged
ArthurSonzogni merged 2 commits into
mainfrom
fix/windows-multiconfig-package-1298
Jul 8, 2026
Merged

fix: ship Debug and Release libs in Windows package (#1298)#1301
ArthurSonzogni merged 2 commits into
mainfrom
fix/windows-multiconfig-package-1298

Conversation

@ArthurSonzogni

Copy link
Copy Markdown
Owner

Closes #1298.

On multi-config generators (Visual Studio), cmake --install now places
libraries under lib/Debug/ and lib/Release/ instead of a shared lib/
directory, so both runtimes (/MDd and /MD) can coexist in the same
package.

The CI release workflow gains a dedicated Windows step that builds both
configurations and passes -C "Debug;Release" to CPack.

A graceful fallback with a WARNING is emitted when CMake < 3.20 is
detected (generator expressions in DESTINATION require 3.20).

Install libs to lib/<config>/ on multi-config generators so both
runtimes (/MD and /MDd) coexist in the same package. CI now builds
both configurations before running cpack.
@github-actions

Copy link
Copy Markdown

⚠️ ABI Compatibility Report

Comparing main (base) with HEAD (PR)

ABI fingerprints changed from d0578d99d54909d813dd510a85d45a4a1c1f0d7e8f179b0eac88c644218de938 to c41901d6a4da49c7eec689a174eb1f30c2994f8c54799cc1f60e60a24985001f.

Detailed ABI Analysis
Checking ABI changes between origin/main and HEAD...
Building origin/main...
Building HEAD...
--------------------------------------------------------------------------------
Comparing libftxui-screen.so...
No ABI changes detected for libftxui-screen.so.
--------------------------------------------------------------------------------
Comparing libftxui-dom.so...
No ABI changes detected for libftxui-dom.so.
--------------------------------------------------------------------------------
Comparing libftxui-component.so...
No ABI changes detected for libftxui-component.so.
--------------------------------------------------------------------------------
No ABI changes detected.

@ArthurSonzogni

Copy link
Copy Markdown
Owner Author

@Hay1tsme - What do you think of this PR? Could you please take a look?

@Hay1tsme

Hay1tsme commented Jul 1, 2026

Copy link
Copy Markdown

This is just what I was hoping for, thank you! Apologies for the delay.

@ArthurSonzogni
ArthurSonzogni merged commit 05fa4f8 into main Jul 8, 2026
21 checks passed
@ArthurSonzogni
ArthurSonzogni deleted the fix/windows-multiconfig-package-1298 branch July 8, 2026 06: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.

/MD and /MDd .lib files

2 participants