mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03: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()
|