3f476beaf7
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> |
||
---|---|---|
.. | ||
add_definitions_command | ||
add_definitions_command_with_target_prop | ||
target_prop | ||
CMakeLists.txt | ||
compiletest.c | ||
compiletest.cpp | ||
compiletest_mixed_c.c | ||
compiletest_mixed_cxx.cpp | ||
runtest.c |