[Cmake-commits] [cmake-commits] king committed cmCMakeMinimumRequired.h 1.14 1.15
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Jan 3 15:48:15 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv9231/Source
Modified Files:
cmCMakeMinimumRequired.h
Log Message:
ENH: Clarify FATAL_ERROR option to min-req command
The FATAL_ERROR to cmake_minimum_required is useful for projects that
require 2.6 to convince CMake 2.4 to error out. This clarifies its
usefulness in the documentation.
Index: cmCMakeMinimumRequired.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmCMakeMinimumRequired.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -C 2 -d -r1.14 -r1.15
*** cmCMakeMinimumRequired.h 3 Jan 2009 20:47:58 -0000 1.14
--- cmCMakeMinimumRequired.h 3 Jan 2009 20:48:13 -0000 1.15
***************
*** 78,84 ****
" cmake_policy(VERSION 2.4)\n"
"which enables compatibility features for CMake 2.4 and lower.\n"
! "The FATAL_ERROR option is accepted but ignored. It is left from "
! "CMake versions 2.4 and lower in which failure to meet the minimum "
! "version was a warning by default.";
}
--- 78,85 ----
" cmake_policy(VERSION 2.4)\n"
"which enables compatibility features for CMake 2.4 and lower.\n"
! "The FATAL_ERROR option is accepted but ignored by CMake 2.6 "
! "and higher. "
! "One may specify it so CMake versions 2.4 and lower fail with an "
! "error instead of just a warning.";
}
More information about the Cmake-commits
mailing list