mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
7 lines
231 B
CMake
7 lines
231 B
CMake
macro(print_versions name)
|
|
foreach(v "" _MAJOR _MINOR _PATCH _TWEAK)
|
|
message(STATUS "PROJECT_VERSION${v}='${PROJECT_VERSION${v}}'")
|
|
message(STATUS "${name}_VERSION${v}='${${name}_VERSION${v}}'")
|
|
endforeach()
|
|
endmacro()
|