diff options
author | Nils Gladitz <nilsgladitz@gmail.com> | 2015-03-09 11:12:13 (GMT) |
---|---|---|
committer | Nils Gladitz <nilsgladitz@gmail.com> | 2015-03-09 11:45:38 (GMT) |
commit | 242c396656783b1b3d542b14bc62710a46a87518 (patch) | |
tree | 8d460b76a2b377433b774815b1914d9b4b86043a /Tests/RunCMake/CMP0057/RunCMakeTest.cmake | |
parent | bdb00b36133c64a36fbba7fd6c648725062b6732 (diff) | |
download | CMake-242c396656783b1b3d542b14bc62710a46a87518.zip CMake-242c396656783b1b3d542b14bc62710a46a87518.tar.gz CMake-242c396656783b1b3d542b14bc62710a46a87518.tar.bz2 |
add_custom_command: Diagnose MAIN_DEPENDENCY limitation.
The new policy CMP0057 diagnoses reuse of the same MAIN_DEPENDENCY across
multiple custom commands.
Diffstat (limited to 'Tests/RunCMake/CMP0057/RunCMakeTest.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0057/RunCMakeTest.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0057/RunCMakeTest.cmake b/Tests/RunCMake/CMP0057/RunCMakeTest.cmake new file mode 100644 index 0000000..f79235f --- /dev/null +++ b/Tests/RunCMake/CMP0057/RunCMakeTest.cmake @@ -0,0 +1,7 @@ +include(RunCMake) + +run_cmake(CMP0057-OLD) +run_cmake(CMP0057-NEW) +run_cmake(CMP0057-WARN) + +run_cmake(CMP0057-once_is_ok) |