CMake/Tests/RunCMake
Stephen Kelly d0a76ea07c Introduce the INTERFACE_LINK_LIBRARIES property.
This property replaces the properties which
match (IMPORTED_)?LINK_INTERFACE_LIBRARIES(_<CONFIG>)?, and is enabled
for IMPORTED targets, and for non-IMPORTED targets only with a policy.

For static libraries, the INTERFACE_LINK_LIBRARIES property is
also used as the source of transitive usage requirements content.
Static libraries still require users to link to all entries in
their LINK_LIBRARIES, but usage requirements such as INCLUDE_DIRECTORIES
COMPILE_DEFINITIONS and COMPILE_OPTIONS can be restricted to only
certain interface libraries.

Because the INTERFACE_LINK_LIBRARIES property is populated unconditionally,
we need to compare the evaluated result of it with the link implementation
to determine whether to issue the policy warning for static libraries. For
shared libraries, the policy warning is issued if the contents of
the INTERFACE_LINK_LIBRARIES property differs from the contents of the
relevant config-specific old LINK_INTERFACE_LIBRARIES property.
2013-07-08 22:39:09 +02:00
..
add_dependencies add_dependencies: Distinguish target v. file dependencies in error () 2013-03-29 15:00:33 -04:00
build_command build_command: Fail early without CMAKE_MAKE_PROGRAM () 2013-03-12 18:17:40 -04:00
CMP0004 Add the $<TARGET_POLICY> expression 2013-01-17 17:20:17 +01:00
CMP0019 Add policy CMP0019 to skip include/link variable re-expansion 2012-12-07 09:51:19 -05:00
CMP0022 Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
CompatibleInterface Report an error on IMPORTED targets with a faulty INTERFACE 2013-03-26 10:45:28 -04:00
CompilerChange Test Unix Makefiles generator support for changing compilers 2013-02-20 08:01:06 -05:00
CTest CTest: Fail early without PROJECT_BINARY_DIR () 2013-03-12 18:20:44 -04:00
ExternalData ExternalData: Do not re-stage staged object files 2013-05-24 15:45:38 -04:00
File_Generate file: Add GENERATE command to produce files at generate time 2013-05-24 09:02:45 -04:00
find_package find_package: Test rejection of required+optional components 2012-03-19 10:53:36 -04:00
FPHSA FPHSA: Convert FOUND_VAR failure test to RunCMake 2013-02-22 08:57:11 -05:00
GeneratorExpression Make it an error for INSTALL_PREFIX to be evaluated. 2013-01-31 17:27:06 +01:00
GeneratorToolset VS12: Add Visual Studio 12 generator () 2013-06-28 18:13:14 -04:00
get_filename_component get_filename_component: Test ABSOLUTE of .. after root component 2013-06-04 09:09:22 -04:00
if if: Add test for IS_DIRECTORY 2013-05-28 11:35:32 -04:00
include include: Ignore empty string as file name () 2012-07-10 11:05:04 -04:00
include_directories Merge topic 'error-on-exported-missing-include-dir' 2013-05-21 15:13:26 -04:00
include_external_msproject Remove CMake-language block-end command arguments 2012-08-13 14:19:16 -04:00
IncompatibleQt FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore 2013-03-18 09:31:33 -04:00
Languages Genex: Report error if a target file is needed to evaluate link libraries. 2013-06-24 16:22:15 +02:00
list list: Handle errors on empty lists more gracefully () 2012-04-17 11:07:07 -04:00
ObjectLibrary Test OBJECT library language propagation 2012-03-16 10:12:30 -04:00
PositionIndependentCode Process the INTERFACE_PIC property from linked dependencies 2013-01-10 09:54:52 -05:00
SolutionGlobalSections Add tests for VS_SOLUTION_GLOBAL_SECTIONS 2012-11-16 08:16:10 -05:00
TargetPropertyGeneratorExpressions Fix spelling and typos (affecting binary data / module messages) 2013-05-07 08:39:19 -04:00
try_compile try_compile: Add signature to allow multiple SOURCES 2013-06-06 14:35:20 -04:00
variable_watch variable_watch: Print accesses as "CMake Debug Log" messages 2013-06-03 13:19:59 -04:00
VisibilityPreset Introduce target property <LANG>_VISIBILITY_PRESET 2013-06-02 12:00:51 +02:00
CMakeLists.txt Introduce the INTERFACE_LINK_LIBRARIES property. 2013-07-08 22:39:09 +02:00
RunCMake.cmake Tests/RunCMake: Allow tests to control build tree behavior 2013-02-18 10:47:27 -05:00