swiftlang / swift-syntax

A set of Swift libraries for parsing, inspecting, generating, and transforming Swift source code.
Apache License 2.0
3.13k stars 393 forks source link

build: parse arguments for `add_swift_host_library` #2704

Open compnerd opened 4 weeks ago

compnerd commented 4 weeks ago

We use EXCLUDE_FROM_ALL in one of the libraries but did not account for that in the installation. When building swift-syntax for the android host for building swift-foundation, this prevents installation of the package. Parse and explicitly pass along the flag.

compnerd commented 4 weeks ago

@swift-ci please test

bnbarham commented 4 weeks ago

CC @rintaro since I know you have a PR that moves EXCLUDE_FROM_ALL top level.