summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-30 14:32:01 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-04-30 14:32:01 (GMT)
commitb39929ab42f3b6204a9689846cbc24c96ee50349 (patch)
treeb0eb055d101cd11d9d46afe0e12ee00b9b026455 /Help
parente2f72ebdbeb3bf1318aaedbf2e024c8431f3e635 (diff)
parent32a2f41402d38e1c5be3547bd042328df0b28124 (diff)
downloadCMake-b39929ab42f3b6204a9689846cbc24c96ee50349.zip
CMake-b39929ab42f3b6204a9689846cbc24c96ee50349.tar.gz
CMake-b39929ab42f3b6204a9689846cbc24c96ee50349.tar.bz2
Merge topic 'revert-CMP0057'
32a2f414 Revert "add_custom_command: Diagnose MAIN_DEPENDENCY limitation."
Diffstat (limited to 'Help')
-rw-r--r--Help/policy/CMP0057.rst19
-rw-r--r--Help/release/dev/main_dependency_diagnostic.rst6
2 files changed, 1 insertions, 24 deletions
diff --git a/Help/policy/CMP0057.rst b/Help/policy/CMP0057.rst
index 5cf0784..377f22d 100644
--- a/Help/policy/CMP0057.rst
+++ b/Help/policy/CMP0057.rst
@@ -1,21 +1,4 @@
CMP0057
-------
-Disallow multiple ``MAIN_DEPENDENCY`` specifications for the same file.
-
-CMake 3.3 and above no longer allow the same input file to be used
-as a ``MAIN_DEPENDENCY`` in more than one custom command.
-
-Listing the same input file more than once in this context has not been
-supported by earlier versions either and would lead to build time issues
-but was not diagnosed.
-
-The ``OLD`` behavior for this policy is to allow using the same input file
-in a ``MAIN_DEPENDENCY`` specfication more than once.
-The ``NEW`` behavior is to disallow using the same input file in a
-``MAIN_DEPENDENCY`` specification more than once.
-
-This policy was introduced in CMake version 3.3.
-CMake version |release| warns when the policy is not set and uses
-``OLD`` behavior. Use the :command:`cmake_policy` command to set
-it to ``OLD`` or ``NEW`` explicitly.
+This policy is reserved for future use.
diff --git a/Help/release/dev/main_dependency_diagnostic.rst b/Help/release/dev/main_dependency_diagnostic.rst
deleted file mode 100644
index 13486ef..0000000
--- a/Help/release/dev/main_dependency_diagnostic.rst
+++ /dev/null
@@ -1,6 +0,0 @@
-main_dependency_diagnostic
---------------------------
-
-* Listing the same input file as a MAIN_DEPENDENCY of a custom command
- can lead to broken build time behavior. This is now diagnosed.
- See policy :policy:`CMP0057`.