[Cmake-commits] [cmake-commits] king committed CMakeSetup.cxx 1.21 1.22

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Mar 5 15:17:09 EST 2009


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

Modified Files:
	CMakeSetup.cxx 
Log Message:
ENH: Overhaul CMake version numbering

This moves the version numbers into an isolated configured header so
that not all of CMake needs to rebuild when the version changes.

Previously we had spaces, dashes and/or the word 'patch' randomly chosen
before the patch number.  Now we always report version numbers in the
traditional format "<major>.<minor>.<patch>[-rc<rc>]".

We still use odd minor numbers for development versions.  Now we also
use the CCYYMMDD date as the patch number of development versions, thus
allowing tests for exact CMake versions.


Index: CMakeSetup.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/QtDialog/CMakeSetup.cxx,v
retrieving revision 1.21
retrieving revision 1.22
diff -C 2 -d -r1.21 -r1.22
*** CMakeSetup.cxx	21 Feb 2009 19:38:35 -0000	1.21
--- CMakeSetup.cxx	5 Mar 2009 20:17:07 -0000	1.22
***************
*** 145,149 ****
    CMakeSetupDialog dialog;
    QString title = QString("CMake %1");
!   title = title.arg(cmVersion::GetCMakeVersion().c_str());
    dialog.setWindowTitle(title);
    dialog.show();
--- 145,149 ----
    CMakeSetupDialog dialog;
    QString title = QString("CMake %1");
!   title = title.arg(cmVersion::GetCMakeVersion());
    dialog.setWindowTitle(title);
    dialog.show();



More information about the Cmake-commits mailing list