Commit 0a2e483
authored
Export SwiftTesting_{BUILD_DIR,MACRO_DIR} in CMake (#1659)
### Motivation:
These are consumed by XCTest when building lit tests in
swiftlang/swift-corelibs-xctest#538
### Modifications:
* Export SwiftTesting_BUILD_DIR in SwiftTestingConfig
* Export SwiftTesting_MACRO_DIR in SwiftTestingMacrosConfig
SwiftTestingMacrosConfig is a new module exported in this change.
Note we can't export this as part of SwiftTestingConfig, because we
set SwiftTesting_MACRO=NO when building the Testing project for Linux,
so there is no macro path available.
### Checklist:
- [x] Code and documentation should follow the style of the [Style
Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md).
- [x] If public symbols are renamed or modified, DocC references should
be updated.1 parent a03f5ec commit 0a2e483
3 files changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
0 commit comments