Skip to content

feat: expose MSVC header and library subsets as source directories - #21

Open
TrapsterDK wants to merge 1 commit into
hermeticbuild:mainfrom
TrapsterDK:msvc-source-subsets
Open

TrapsterDK wants to merge 1 commit into
hermeticbuild:mainfrom
TrapsterDK:msvc-source-subsets

Conversation

@TrapsterDK

Copy link
Copy Markdown

Closes #20.

@msvc_runtime copies the vcruntime and COM support headers and the COM, common, dynamic CRT and static CRT libraries into subsets/ when the repository is fetched. They are exposed as subdirectory targets: msvc_vcruntime_include, msvc_com_support_include and msvc_{com,common,dynamic,static}_libraries, the last four selecting x64 or arm64 by platform. A toolchain can then depend on them directly instead of copying them with copy_to_directory.

Test: e2e/smoke builds all six targets in smoke_test. I ran it on Linux and checked that the fetched repository holds the 50 expected files.

Assisted by Claude.

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.

Expose MSVC header and library subsets as source directories

1 participant