# This is a cmake -P script for extracting and printing the project version # from the Version.cmake file. # # You run this script as: # # cmake -D PROJECT_BASE_DIR= -P GetProjectVersion.cmake INCLUDE("${PROJECT_BASE_DIR}/Version.cmake") MESSAGE("Trilinos_VERSION = ${Trilinos_VERSION}") MESSAGE("Trilinos_MAJOR_VERSION = ${Trilinos_MAJOR_VERSION}") MESSAGE("Trilinos_MAJOR_MINOR_VERSION = ${Trilinos_MAJOR_MINOR_VERSION}") MESSAGE("Trilinos_VERSION_STRING = '${Trilinos_VERSION_STRING}'")