CMake/Tests/RunCMake/CMP0022
Brad King 0a561a0347 CMP0022: Warn about a given target at most once
Since cmTarget::ComputeLinkInterface is called separately for each
"head" target that links a target, the warning we produce when
CMP0022 is not set could be repeated.  Add explicit logic to allow
the warning to appear at most once.  Multiple copies of the warning
for the same target are almost always identical and therefore
redundant.  In the rare case that two copies of the warning are
different, the second can appear in a future run after the first
is fixed.
2013-11-03 09:14:54 -05:00
..
dep1 TLL: Don't populate old link interface if CMP0022 is NEW. 2013-07-08 22:39:58 +02:00
dep2 TLL: Don't populate old link interface if CMP0022 is NEW. 2013-07-08 22:39:58 +02:00
dep3 TLL: Don't populate old link interface if CMP0022 is NEW. 2013-07-08 22:39:58 +02:00
CMP0022-NOWARN-exe-stderr.txt CMP0022: Warn about a given target at most once 2013-11-03 09:14:54 -05:00
CMP0022-NOWARN-exe.cmake CMP0022: Warn about a given target at most once 2013-11-03 09:14:54 -05:00
CMP0022-NOWARN-shared-stderr.txt CMP0022: Plain target_link_libraries must populate link interface 2013-11-02 12:55:17 -04:00
CMP0022-NOWARN-shared.cmake CMP0022: Plain target_link_libraries must populate link interface 2013-11-02 12:55:17 -04:00
CMP0022-NOWARN-static-link_libraries-stderr.txt TLL: Don't populate old link interface if CMP0022 is NEW. 2013-07-08 22:39:58 +02:00
CMP0022-NOWARN-static-link_libraries.cmake TLL: Don't populate old link interface if CMP0022 is NEW. 2013-07-08 22:39:58 +02:00
CMP0022-NOWARN-static-stderr.txt Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
CMP0022-NOWARN-static.cmake Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES. 2013-10-26 10:10:20 -04:00
CMP0022-WARN-empty-old-result.txt CMP0022: Add unit test for null pointer check and message. 2013-11-02 12:48:40 -04:00
CMP0022-WARN-empty-old-stderr.txt CMP0022: Plain target_link_libraries must populate link interface 2013-11-02 12:55:17 -04:00
CMP0022-WARN-empty-old.cmake CMP0022: Add unit test for null pointer check and message. 2013-11-02 12:48:40 -04:00
CMP0022-WARN-static-result.txt Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
CMP0022-WARN-static-stderr.txt CMP0022: Plain target_link_libraries must populate link interface 2013-11-02 12:55:17 -04:00
CMP0022-WARN-static.cmake Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
CMP0022-WARN-stderr.txt CMP0022: Warn about a given target at most once 2013-11-03 09:14:54 -05:00
CMP0022-WARN-tll-result.txt TLL: Don't populate old link interface if CMP0022 is NEW. 2013-07-08 22:39:58 +02:00
CMP0022-WARN-tll-stderr.txt CMP0022: Plain target_link_libraries must populate link interface 2013-11-02 12:55:17 -04:00
CMP0022-WARN-tll.cmake TLL: Don't populate old link interface if CMP0022 is NEW. 2013-07-08 22:39:58 +02:00
CMP0022-WARN.cmake CMP0022: Warn about a given target at most once 2013-11-03 09:14:54 -05:00
CMP0022-export-exe-stderr.txt Do not export INTERFACE_LINK_LIBRARIES from non-linkable targets 2013-11-02 14:51:07 -04:00
CMP0022-export-exe.cmake Do not export INTERFACE_LINK_LIBRARIES from non-linkable targets 2013-11-02 14:51:07 -04:00
CMP0022-export-result.txt Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
CMP0022-export-stderr.txt Export: Fix typo of LINK_INTERFACE_LIBRARIES. 2013-07-26 13:10:06 +02:00
CMP0022-export.cmake Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
CMP0022-install-export-result.txt Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
CMP0022-install-export-stderr.txt Export: Fix typo of LINK_INTERFACE_LIBRARIES. 2013-07-26 13:10:06 +02:00
CMP0022-install-export.cmake Export: Generate INTERFACE_LINK_LIBRARIES property on targets. 2013-07-08 22:39:57 +02:00
CMakeLists.txt Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
RunCMakeTest.cmake CMP0022: Warn about a given target at most once 2013-11-03 09:14:54 -05:00
empty.cpp Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
empty_vs6_1.cpp Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
empty_vs6_2.cpp Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
empty_vs6_3.cpp Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
empty_vs6_4.cpp CMP0022: Warn about a given target at most once 2013-11-03 09:14:54 -05:00