summaryrefslogtreecommitdiffstats
path: root/Source/cmPolicies.cxx
Commit message (Collapse)AuthorAgeFilesLines
* ENH: Allow policy CMP0000 to be set explicitlyBrad King2008-03-311-1/+9
| | | | | | | | - Message for missing cmake_minimum_required is not issued until the end of processing the top CMakeLists.txt file - During processing a cmake_policy command may set behavior - OLD behavior is to silently ignore the problem - NEW behavior is to issue an error instead of a warning
* ENH: Cleanup policy version interface presented to user.Brad King2008-03-241-0/+24
| | | | | | | - In cmake_minimum_required do not set policy version if current CMake is too old - In cmPolicies::ApplyPolicyVersion report error if version is too new or cannot be parsed
* ENH: Yet another attempt at warning for CMP0003.Brad King2008-03-211-1/+4
| | | | | | | - Give example code to avoid the warning - Make explanation more consise - Explicitly state this is for compatibility - Issue the warning for at most one target
* ENH: Improve warning about specifying a cmake versionBrad King2008-03-191-39/+39
| | | | | | | | | | - Update policy CMP0000 to require use of the command cmake_minimum_required and not cmake_policy so there is only one way to avoid it. - Explicitly specify the line users should add. - Reference policy CMP0000 only at the end. - Fix policy CMP0000 documentation to not suggest use of the cmake_policy command.
* ENH: Clarify documentation of policy CMP0000 and its relationship with ↵Brad King2008-03-131-7/+14
| | | | cmake_minimum_required.
* ENH: Add policy CMP0005 to decide whether add_definitions should escape defs.Brad King2008-03-131-0/+21
|
* ENH: Add policy CMP_0004 to require library names to have no leading or ↵Brad King2008-03-131-0/+16
| | | | trailing whitespace. Replace previous check of CMAKE_BACKWARDS_COMPATIBILITY against version 2.4 with the policy.
* ENH: Convert CMAKE_LINK_OLD_PATHS to policy CMP0003.Brad King2008-03-131-0/+61
| | | | | | | | | - Policy is WARN by default so projects will build as they did in 2.4 without user intervention - Remove CMAKE_LINK_OLD_PATHS variable since it was never in a release and the policy supercedes it - Report target creation backtrace in warning message since policy should be set by that point
* ENH: Reduce whitespace in policy warning/error messages.Brad King2008-03-131-2/+2
|
* ENH: change CMP_ to CMPKen Martin2008-03-131-4/+4
|
* ENH: add enum to IssueMessageBill Hoffman2008-03-111-3/+3
|
* ENH: Cleanup policy generic documentation. Cleanup some policy ↵Brad King2008-03-081-35/+31
| | | | error/warning messages.
* ENH: Finish creating, documenting, and enforcing policy CMP_0002.Brad King2008-03-071-2/+17
|
* ENH: Improve handling of old-style compatibility.Brad King2008-03-071-49/+37
| | | | | | | | | | | | | | | | | | | - Remove CMP_0001 (no slash in target name) and restore old CMAKE_BACKWARDS_COMPATIBILITY check for it - Replace all checks of CMAKE_BACKWARDS_COMPATIBILITY with cmLocalGenerator::NeedBackwardsCompatibility calls - Create new CMP_0001 to determine whether or not CMAKE_BACKWARDS_COMPATIBILITY is used. (old = use, new = ignore) - Show CMAKE_BACKWARDS_COMPATIBILITY in cache only when CMP_0001 is set to OLD or WARN - Update documentation of cmake_policy and cmake_minimum_required to indicate their relationship and the 2.4 version boundary - When no cmake policy version is set in top level makefile implicitly call cmake_policy(VERSION 2.4) which restores CMAKE_BACKWARDS_COMPATIBILITY and other 2.4 compatibility - Fix tests MakeClean and Preprocess to call cmake_policy(VERSION 2.6) because they depend on new policies
* ENH: clean up some policy stuff and interactions with ↵Ken Martin2008-03-071-0/+24
| | | | CMAKE_BACKWARDS_COMPATIBILITY and CMAKE_MINIMUM_REQUIRED
* ENH: New format for warning and error messagesBrad King2008-03-071-18/+17
| | | | | | | | | | | | | - Add cmMakefile methods IssueError and IssueWarning - Maintain an explicit call stack in cmMakefile - Include context/call-stack info in messages - Nested errors now unwind the call stack - Use new mechanism for policy warnings and errors - Improve policy error message - Include cmExecutionStatus pointer in call stack so that errors deeper in the C++ stack under a command invocation will become errors for the command
* BUG: change in handling of cmake_minimum_requiredKen Martin2008-03-061-1/+1
|
* BUG: change the handling of CMAKE_MINIMUM_REQUIRED and ↵Ken Martin2008-03-061-26/+40
| | | | BACKWARDS_COMPATIBILITY and extend the documentaiton quite a bit
* ENH: Fix policy warning message to not give wrong code as example.Brad King2008-03-051-13/+8
|
* BUG: Require policy version to specify at least major.minor. Do not store ↵Brad King2008-03-051-3/+8
| | | | CMAKE_BACKWARDS_COMPATIBILITY with an invalid version value.
* BUG: Fix parsing of policy version number in cmPolicies.Brad King2008-03-051-18/+3
|
* BUG: some fixes, still a few to goKen Martin2008-03-051-2/+13
|
* ENH: more policy changesKen Martin2008-03-041-1/+15
|
* ENH: add --help-policies and --help-policy command line optionsKen Martin2008-03-041-0/+20
|
* ENH: revert dumb changeKen Martin2008-03-021-21/+21
|
* COMP: fix compile errors on vs6 and a warningKen Martin2008-03-021-21/+21
|
* STYLE: fix some line lengthsKen Martin2008-03-011-9/+10
|
* ENH: just getting somethng checked in, still work to doKen Martin2008-02-291-0/+410