diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-04-28 18:59:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-05-08 17:24:49 (GMT) |
commit | 25102efc1db1e0d165ebe5e4eaef33b8206d9d3e (patch) | |
tree | 4969ed0933a06d05a8d4b9b0ba903ba43d15009d /Source | |
parent | e423f1c05d6d11483deb7acd135623df8de45655 (diff) | |
download | CMake-25102efc1db1e0d165ebe5e4eaef33b8206d9d3e.zip CMake-25102efc1db1e0d165ebe5e4eaef33b8206d9d3e.tar.gz CMake-25102efc1db1e0d165ebe5e4eaef33b8206d9d3e.tar.bz2 |
EVIS: Add policy CMP0053
This policy switches between the old EVIS parser and the new, faster
parser.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmPolicies.cxx | 5 | ||||
-rw-r--r-- | Source/cmPolicies.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index 309f280..693945d 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -354,6 +354,11 @@ cmPolicies::cmPolicies() "Reject source and build dirs in installed " "INTERFACE_INCLUDE_DIRECTORIES.", 3,1,0, cmPolicies::WARN); + + this->DefinePolicy( + CMP0053, "CMP0053", + "Simplify variable reference and escape sequence evaluation.", + 3,1,0, cmPolicies::WARN); } cmPolicies::~cmPolicies() diff --git a/Source/cmPolicies.h b/Source/cmPolicies.h index 60f35c2..5d69d14 100644 --- a/Source/cmPolicies.h +++ b/Source/cmPolicies.h @@ -108,6 +108,8 @@ public: CMP0052, ///< Reject source and build dirs in installed /// INTERFACE_INCLUDE_DIRECTORIES + CMP0053, ///< Simplify variable reference and escape sequence evaluation + /** \brief Always the last entry. * * Useful mostly to avoid adding a comma the last policy when adding a new |