[Cmake-commits] [cmake-commits] king committed cmPolicies.cxx 1.44 1.45

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Sep 25 13:09:40 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv32460/Source

Modified Files:
	cmPolicies.cxx 
Log Message:
Document full version number with policy default

In CMake Policy documentation we specify the default behavior for the
current version of CMake.  This commit fixes that version by reporting
the full version number instead of just major and minor.


Index: cmPolicies.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmPolicies.cxx,v
retrieving revision 1.44
retrieving revision 1.45
diff -C 2 -d -r1.44 -r1.45
*** cmPolicies.cxx	11 Sep 2009 12:18:08 -0000	1.44
--- cmPolicies.cxx	25 Sep 2009 17:09:36 -0000	1.45
***************
*** 680,685 ****
        {
        full << "  "
!            << "CMake version " << cmVersion::GetMajorVersion()
!            << "." << cmVersion::GetMinorVersion() << " ";
        // add in some more text here based on status
        switch (i->second->Status)
--- 680,684 ----
        {
        full << "  "
!            << "CMake version " << cmVersion::GetCMakeVersion() << " ";
        // add in some more text here based on status
        switch (i->second->Status)



More information about the Cmake-commits mailing list