Skip to content

Fix incorrectly-specified platform list in CMake file. #633

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

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Aug 21, 2024

Our CMake file that sets compiler conditionals has the wrong syntax when setting SWT_NO_EXIT_TESTS conditionally. Fix that. (With thanks to @compnerd.)

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

Our CMake file that sets compiler conditionals has the wrong syntax when setting
`SWT_NO_EXIT_TESTS` conditionally. Fix that. (With thanks to @compnerd.)
@grynspan grynspan added bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support wasi/wasm 🧭 WebAssembly support build 🧱 Affects the project's build configuration or process android 🤖 Android support labels Aug 21, 2024
@grynspan grynspan self-assigned this Aug 21, 2024
@grynspan
Copy link
Contributor Author

@swift-ci test

@grynspan grynspan merged commit bda8474 into main Aug 21, 2024
3 checks passed
@grynspan grynspan deleted the jgrynspan/misspecified-cmake-SWT_NO_EXIT_TESTS branch August 21, 2024 23:51
grynspan added a commit that referenced this pull request Aug 23, 2024
**Explanation:** Correctly sets `SWT_NO_EXIT_TESTS` on platforms that
don't support them when building with CMake.
**Scope:** Building iOS, watchOS, tvOS, visionOS, WASI from OSS.
**Issue:** N/A
**Original PR:** #633
**Risk:** Low
**Testing:** Manually tested as we don't have CI using CMake yet.
**Reviewer:** @compnerd @briancroom
grynspan added a commit that referenced this pull request Aug 27, 2024
**Explanation:** Correctly sets `SWT_NO_EXIT_TESTS` on platforms that
don't support them when building with CMake.
**Scope:** Building iOS, watchOS, tvOS, visionOS, WASI from OSS.
**Issue:** N/A
**Original PR:** #633
**Risk:** Low
**Testing:** Manually tested as we don't have CI using CMake yet.
**Reviewer:** @compnerd @briancroom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android 🤖 Android support bug 🪲 Something isn't working build 🧱 Affects the project's build configuration or process darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support wasi/wasm 🧭 WebAssembly support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants