CMake/Tests/CompileDefinitions
Brad King 3f476beaf7 Genex: Do not consider 'head' when evaluating build properties
When $<TARGET_PROPERTY> names a build property like COMPILE_DEFINITIONS
but not the usage requirement (INTERFACE_) version of it, the value
should be that used to build the target.  It should not be influenced by
a dependent 'head' target like usage requirements are.

Extend the CompileDefinitions test with a case covering the corrected
behavior.

Reviewed-by: Stephen Kelly <steveire@gmail.com>
2014-08-06 10:13:04 -04:00
..
add_definitions_command Tests/CompileDefinitions: Avoid spaces in defines on VS 6 2013-05-24 09:35:43 -04:00
add_definitions_command_with_target_prop Tests/CompileDefinitions: Avoid spaces in defines on VS 6 2013-05-24 09:35:43 -04:00
target_prop Genex: Do not consider 'head' when evaluating build properties 2014-08-06 10:13:04 -04:00
CMakeLists.txt Tests/CompileDefinitions: Avoid spaces in defines on VS 6 2013-05-24 09:35:43 -04:00
compiletest.c cmTarget: Deprecate COMPILE_DEFINITIONS_ properties with a policy. 2014-01-08 16:41:34 +01:00
compiletest.cpp Add $<LINK_LANGUAGE> generator expression 2013-05-24 09:06:53 -04:00
compiletest_mixed_c.c Remove the LINK_LANGUAGE generator expression. 2013-07-24 10:40:00 -04:00
compiletest_mixed_cxx.cpp Remove the LINK_LANGUAGE generator expression. 2013-07-24 10:40:00 -04:00
runtest.c Test evaluation of per-config COMPILE_DEFINITIONS (#14037) 2013-03-25 10:49:42 -04:00