Skip to content

build: clean up some CMake usage #7193

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
Dec 13, 2023
Merged

build: clean up some CMake usage #7193

merged 1 commit into from
Dec 13, 2023

Conversation

compnerd
Copy link
Member

Prefer to use add_compile_definitions to add_compile_options to add a definition. Since the option is applied to the directory and below, sink it into Sources.

Prefer to use `add_compile_definitions` to `add_compile_options` to add
a definition.  Since the option is applied to the directory and below,
sink it into `Sources`.
@compnerd
Copy link
Member Author

@swift-ci please smoke test

@MaxDesiatov
Copy link
Contributor

@swift-ci test

@compnerd compnerd enabled auto-merge (squash) December 12, 2023 22:49
@compnerd
Copy link
Member Author

@swift-ci please test macOS platform

1 similar comment
@compnerd
Copy link
Member Author

@swift-ci please test macOS platform

@MaxDesiatov
Copy link
Contributor

"macOS (self hosted)" CI will fail until #7196 is merged. Review on that appreciated 🙂

@MaxDesiatov
Copy link
Contributor

@swift-ci test macos

@compnerd compnerd merged commit 64b7ca9 into swiftlang:main Dec 13, 2023
@compnerd compnerd deleted the defines branch December 13, 2023 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants