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

[SR-15388] Extend TargetDependencyCondition to support build configurations #4380

Open
tonyarnold opened this issue Oct 26, 2021 · 0 comments

Comments

@tonyarnold
Copy link
Contributor

Previous ID SR-15388
Radar None
Original Reporter @tonyarnold
Type New Feature
Additional Detail from JIRA
Votes 1
Component/s Package Manager
Labels New Feature
Assignee None
Priority Medium

md5: 6454c0b58b318481d78c0b8925c9ab92

Issue Description:

Currently, SwiftPM's TargetDependencyCondition only supports restricting dependencies by platform.

I have a use case where I would only like to include a third-party binary dependency based upon whether I'm building using a release or debug configuration.

It would be great to see SwiftPM (and Xcode) support this.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants