Skip to content

[SR-3948] Support Build Settings #5111

@rballard

Description

@rballard
Previous ID SR-3948
Radar rdar://problem/23270646
Original Reporter @rballard
Type New Feature
Additional Detail from JIRA
Votes 6
Component/s Package Manager
Labels New Feature
Assignee None
Priority Medium

md5: acfa70332a18c4718006cf3e62144d2e

is duplicated by:

  • SR-883 Support conditional dependencies
  • SR-3233 Demands -Xlinker invocation even though modulemap already contains it
  • SR-3488 C/C++ packages can't be built for Android
  • SR-3838 Swift Package Manager can't specify C-language mode (-std option) per module
  • SR-4194 Lookup pkg-config files in system packages
  • SR-5851 swift build can't change -target
  • SR-8497 Make cross-test-target dependencies possible
  • SR-3484 Swift PM fails to build package with C++ and ObjC++ targets

relates to:

  • SR-3660 Add support for custom build configuration

Issue Description:

The package manager has no way to provide specific settings, such as compiler flags, for building the targets in a package. Some settings are critical for production code, such as the "deployment target" (the minimum OS version that the built code will run on). We need to provide a way to set at least the most important settings which users will need control over.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions