Variables
BASISConfigVersion.cmake File Reference

Package configuration version file. More...

Go to the source code of this file.

Variables

cmake PACKAGE_VERSION
 Version of the found package. More...
 
cmake PACKAGE_VERSION_COMPATIBLE
 Whether this package version is compatible with the requested version. More...
 
cmake PACKAGE_VERSION_EXACT
 Whether this package version is the requested version. More...
 
cmake PACKAGE_VERSION_UNSUITABLE
 Whether this package version is unsuitable with the requested version. More...
 

Detailed Description

Package configuration version file.

Note
The BASISConfigVersion.cmake file is automatically generated by BASIS from the template file ConfigVersion.cmake.in which is part of BASIS.

This file supports the usage of the package by other projects. It is loaded by the find_package() CMake command used by other projects to find this package in order to verify that the version of the package found is compatible with the version requested.

Input variables
PACKAGE_FIND_NAME The package name, i.e., "BASIS".
BASIS_FIND_VERSION Full requested version string.
BASIS_FIND_VERSION_MAJOR Major version if requested, else 0.
BASIS_FIND_VERSION_MINOR Minor version if requested, else 0.
BASIS_FIND_VERSION_PATCH Patch version if requested, else 0.
BASIS_FIND_VERSION_TWEAK Tweak version if requested, else 0.
BASIS_FIND_VERSION_COUNT Number of version components, 0 to 4.
Output variables
PACKAGE_VERSION Full provided version string.
PACKAGE_VERSION_EXACT True if version is exact match.
PACKAGE_VERSION_COMPATIBLE True if version is compatible.
PACKAGE_VERSION_UNSUITABLE True if unsuitable as any version.
See also
http://www.cmake.org/Wiki/CMake_2.6_Notes

Definition in file BASISConfigVersion.cmake.

Variable Documentation

§ PACKAGE_VERSION

cmake PACKAGE_VERSION

Version of the found package.

Definition at line 71 of file BASISConfigVersion.cmake.

§ PACKAGE_VERSION_COMPATIBLE

cmake PACKAGE_VERSION_COMPATIBLE

Whether this package version is compatible with the requested version.

Definition at line 86 of file BASISConfigVersion.cmake.

§ PACKAGE_VERSION_EXACT

cmake PACKAGE_VERSION_EXACT

Whether this package version is the requested version.

Definition at line 93 of file BASISConfigVersion.cmake.

§ PACKAGE_VERSION_UNSUITABLE

cmake PACKAGE_VERSION_UNSUITABLE

Whether this package version is unsuitable with the requested version.

Definition at line 88 of file BASISConfigVersion.cmake.