Skip to content

CMake: expose Swift version through CMakeConfig.cmake #67152

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

Conversation

AlexDenisov
Copy link
Contributor

Rationale: we are using Swift compiler as a library in a downstream project and having these exposed would streamline version detection for our use case.
Additionally, this PR makes CMake config a bit more uniform with LLVM/Clang configs.

@AlexDenisov AlexDenisov force-pushed the alexdenisov/expose-swift-version-through-cmake branch from 51aaf68 to 9ad351d Compare July 6, 2023 09:08
@AlexDenisov AlexDenisov changed the title CMake: expose Swift version though CMakeConfig.cmake CMake: expose Swift version through CMakeConfig.cmake Jul 6, 2023
@AlexDenisov AlexDenisov force-pushed the alexdenisov/expose-swift-version-through-cmake branch from 9ad351d to 43af362 Compare July 6, 2023 09:09
@compnerd
Copy link
Member

@swift-ci please smoke test

@keith keith merged commit a5f2f76 into swiftlang:main Jul 22, 2023
@AlexDenisov AlexDenisov deleted the alexdenisov/expose-swift-version-through-cmake branch July 24, 2023 07:06
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.

3 participants