[cmake-commits] king committed readme.txt 1.13 1.14

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jan 28 20:38:50 EST 2008


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv17606/Modules

Modified Files:
	readme.txt 
Log Message:
ENH: Added version support to Config mode of find_package command.

  - Added EXACT option to request an exact version.
  - Enforce version using check provided by package.
  - Updated FindPackageTest to test versioning in config mode.


Index: readme.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/readme.txt,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- readme.txt	21 Jan 2008 13:48:33 -0000	1.13
+++ readme.txt	29 Jan 2008 01:38:47 -0000	1.14
@@ -67,19 +67,20 @@
 
 A FindXXX.cmake module will typically be loaded by the command
 
-  FIND_PACKAGE(XXX [major[.minor[.patch]]]
+  FIND_PACKAGE(XXX [major[.minor[.patch]]] [EXACT]
                [QUIET] [REQUIRED [components...]])
 
 If any version numbers are given to the command it will set the
 variable XXX_FIND_VERSION to contain the whole version.  The variables
 XXX_FIND_VERSION_MAJOR, XXX_FIND_VERSION_MINOR, and
 XXX_FIND_VERSION_PATCH will be set to contain the corresponding
-portions of the version number.  If the find module supports
-versioning it should locate a version of the package that is
-compatible with the version requested.  If a compatible version of the
-package cannot be found the module should not report success.  The
-version of the package found should be stored in the version variables
-named above.
+portions of the version number.  The variable XXX_FIND_VERSION_EXACT
+will indicate whether an exact version is requested.
+If the find module supports versioning it should locate a version of
+the package that is compatible with the version requested.  If a
+compatible version of the package cannot be found the module should
+not report success.  The version of the package found should be stored
+in the version variables named above.
 
 If the QUIET option is given to the command it will set the variable
 XXX_FIND_QUIETLY to true before loading the FindXXX.cmake module.  If



More information about the Cmake-commits mailing list