swiftlang / swift-corelibs-xctest

The XCTest Project, A Swift core library for providing unit test support
swift.org
Apache License 2.0
1.15k stars 267 forks source link

Disambiguate the lib install path for different architectures #434

Closed tristanlabelle closed 1 year ago

tristanlabelle commented 1 year ago

The CMake install path for XCTests libs overlaps for different architectures on Windows, complicating building for multiple architectures on the same machine. This change adds an architecture subfolder, consistent with what we have for XCTest.swiftdoc and XCTest.swiftmodule.

The same problem applies to bin, but is better resolved by https://github.com/apple/swift-corelibs-xctest/pull/433

Co-dependent on https://github.com/apple/swift-installer-scripts/pull/181

compnerd commented 1 year ago

@swift-ci please test

tristanlabelle commented 1 year ago

Abandonning in favor of handling this in the build scripts. It seems like we need CMake install to better handle Swift modules in the long term.