Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[directx-dxc] Fix port bug with TARGET_RUNTIME_DLLS #37401

Merged
merged 22 commits into from
Mar 20, 2024

Conversation

walbourn
Copy link
Member

@walbourn walbourn commented Mar 12, 2024

While working with CMake 3.21 or later's TARGET_RUNTIME_DLLS I realized the extra space in the .in file was breaking the cmake -E copy command.

Also includes some cleanup for the port as well as respecting VCPKG_BUILD_TYPE=release.

@LilyWangLL LilyWangLL self-assigned this Mar 13, 2024
@LilyWangLL LilyWangLL added the category:port-bug The issue is with a library, which is something the port should already support label Mar 13, 2024
LilyWangLL
LilyWangLL previously approved these changes Mar 13, 2024
@LilyWangLL LilyWangLL added the info:reviewed Pull Request changes follow basic guidelines label Mar 13, 2024
@walbourn walbourn marked this pull request as draft March 13, 2024 04:58
@LilyWangLL LilyWangLL removed the info:reviewed Pull Request changes follow basic guidelines label Mar 13, 2024
@walbourn walbourn changed the title [directx-dxc] Fix port bug with extra space [directx-dxc] Fix port bug with TARGET_RUNTIME_DLLS Mar 13, 2024
@walbourn walbourn marked this pull request as ready for review March 13, 2024 17:31
@walbourn walbourn requested review from dg0yt and LilyWangLL March 14, 2024 22:35
Copy link
Contributor

@dg0yt dg0yt left a comment

Choose a reason for hiding this comment

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

There a few glitches also in the original version. Maybe I can make a PR to your fork.

ports/directx-dxc/directx-dxc-config.cmake.in Outdated Show resolved Hide resolved
@dg0yt
Copy link
Contributor

dg0yt commented Mar 15, 2024

walbourn#1

Fix for Release alt configurations
@dg0yt
Copy link
Contributor

dg0yt commented Mar 16, 2024

The x64-windows-static-md is related to walbourn#1 (comment). Maybe you want to revert walbourn@2b4d191. Or/and we teach vcpkg_check_linkage to deal with this type of libraries.

@LilyWangLL
Copy link
Contributor

Usage passed on x64-windows.

@LilyWangLL LilyWangLL added the info:reviewed Pull Request changes follow basic guidelines label Mar 20, 2024
@BillyONeal BillyONeal merged commit c039e36 into microsoft:master Mar 20, 2024
16 checks passed
@BillyONeal
Copy link
Member

Thanks!

@walbourn walbourn deleted the directxdxcfix branch May 4, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants