CMake/Tests/RunCMake/target_link_libraries
Brad King 30c2e1dd16 cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626)
Since commit v3.3.0-rc1~62^2~5 (cmTarget: Store only cmListFileContext
for CMP0023 handling, 2015-05-18) a call to target_link_libraries on a
target that was defined in another (non-ancestor) directory crashes
because no execution context is left active.  Fix this by getting the
execution context from the actual cmMakefile where the current
target_link_libraries call takes place.  Test this by verifying that
such calls correctly produce an error diagnostic instead of crashing.
2015-06-25 09:14:26 -04:00
..
SubDirTarget cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) 2015-06-25 09:14:26 -04:00
CMP0023-NEW-2-result.txt target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMP0023-NEW-2-stderr.txt Policies: omit warnings about unset policies when they are actually set to NEW 2014-03-31 09:45:10 -04:00
CMP0023-NEW-2.cmake target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMP0023-NEW-result.txt target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMP0023-NEW-stderr.txt Policies: omit warnings about unset policies when they are actually set to NEW 2014-03-31 09:45:10 -04:00
CMP0023-NEW.cmake target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMP0023-WARN-2-stderr.txt target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMP0023-WARN-2.cmake target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMP0023-WARN-stderr.txt target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMP0023-WARN.cmake target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
CMakeLists.txt Cygwin: Avoid legacy warnings in RunCMake.* tests 2013-08-13 09:50:15 -04:00
MixedSignature-result.txt target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
MixedSignature-stderr.txt target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
MixedSignature.cmake target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
RunCMakeTest.cmake cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) 2015-06-25 09:14:26 -04:00
Separate-PRIVATE-LINK_PRIVATE-uses-result.txt target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
Separate-PRIVATE-LINK_PRIVATE-uses.cmake target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
SubDirTarget-result.txt cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) 2015-06-25 09:14:26 -04:00
SubDirTarget-stderr.txt cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) 2015-06-25 09:14:26 -04:00
SubDirTarget.cmake cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) 2015-06-25 09:14:26 -04:00
empty.c cmTarget: Fix diagnostic of target_link_libraries in wrong directory (#15626) 2015-06-25 09:14:26 -04:00
empty.cpp target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
empty_vs6_1.cpp target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
empty_vs6_2.cpp target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00
empty_vs6_3.cpp target_link_libraries: Add PUBLIC/PRIVATE/INTERFACE keyword signature 2013-07-24 11:52:44 -04:00