diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2015-04-29 13:09:24 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-30 14:20:20 (GMT) |
commit | 32a2f41402d38e1c5be3547bd042328df0b28124 (patch) | |
tree | 9991861d5cc2a0966ad3ac1976a3c3d73081b463 /Tests/RunCMake/CMP0057/CMP0057-OLD.cmake | |
parent | d1a74bba1bba0c4381e7c3a6a93551320dc377ac (diff) | |
download | CMake-32a2f41402d38e1c5be3547bd042328df0b28124.zip CMake-32a2f41402d38e1c5be3547bd042328df0b28124.tar.gz CMake-32a2f41402d38e1c5be3547bd042328df0b28124.tar.bz2 |
Revert "add_custom_command: Diagnose MAIN_DEPENDENCY limitation."
This reverts commit 242c3966 (add_custom_command: Diagnose
MAIN_DEPENDENCY limitation, 2015-03-09) and the follow up commit
b372a99a (UseSWIG: Do not use MAIN_DEPENDENCY on custom commands,
2015-03-26).
I misdiagnosed the underlying issue that prompted creation of policy CMP0057.
The actual issue surfaces when a single custom command's MAIN_DEPENDENCY
is listed in more than one target; this issue will have to be addressed
independently.
Diffstat (limited to 'Tests/RunCMake/CMP0057/CMP0057-OLD.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0057/CMP0057-OLD.cmake | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake b/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake deleted file mode 100644 index ccf4fcb..0000000 --- a/Tests/RunCMake/CMP0057/CMP0057-OLD.cmake +++ /dev/null @@ -1,13 +0,0 @@ -cmake_policy(SET CMP0057 OLD) - -add_custom_command(OUTPUT out1 - COMMAND ${CMAKE_COMMAND} -E echo out1 - MAIN_DEPENDENCY input.txt -) - -add_custom_command(OUTPUT out2 - COMMAND ${CMAKE_COMMAND} -E echo out2 - MAIN_DEPENDENCY input.txt -) - -add_custom_target(mytarget1 ALL DEPENDS out1 out2) |