Files
swift-mirror/cmake/PrintVersion.cmake
Saleem Abdulrasool 08608390f0 cmake: extract version string and add PrintVersion.cmake
Add a helper to allow us to programatically extract the Swift version
string during the build. This is particularly useful for injection into
the packaging stages.

Co-authored-by: Evan Wilde <etceterawilde@gmail.com>
2023-03-27 11:53:36 -07:00

3 lines
80 B
CMake

include(${CMAKE_CURRENT_LIST_DIR}/SwiftVersion.cmake)
message(${SWIFT_VERSION})