build: add TSCSupport to the built module set#514
Open
compnerd wants to merge 3 commits into
Open
Conversation
`Foundation` was not being resolved to the target and instead would add `-lFoundation` to the linker invocation which is unnecessary due to the autolinking. Add the library search directory instead.
This allows building with or without a build tree which eases the toolchain builds.
This is not a required library, but add it to the build to support use in SPM testing. Although the library is built, we do not install it as it does not need to be distributed.
jakepetroules
approved these changes
Jun 16, 2025
Contributor
|
@swift-ci test |
1 similar comment
Contributor
|
@swift-ci test |
Member
Author
|
Please test with following PRs: @swift-ci please test Windows platform |
Contributor
|
@swift-ci test macOS |
Member
Author
|
Ah, it seems that the XCTest framework is not being searched on macOS. This will require a small tweak. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add TSCSupport to the CMake build system. This is meant to support the testing of SPM and not for general usage. We do not support the installation of the
TSCSupportmodule as the usage is limited for the test suite in SPM.