summaryrefslogtreecommitdiffstats
path: root/Source/cmAddDefinitionsCommand.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-12-30 08:36:08 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-01-04 10:28:58 (GMT)
commit01c545c5968f90545caa1caf804f7ea4fc717c2b (patch)
tree76ac53ab5061f6ea0fc96a892ad4b3f32cedd071 /Source/cmAddDefinitionsCommand.h
parentc67e1a6aac2439eb24989d02af77c4a6279846a0 (diff)
downloadCMake-01c545c5968f90545caa1caf804f7ea4fc717c2b.zip
CMake-01c545c5968f90545caa1caf804f7ea4fc717c2b.tar.gz
CMake-01c545c5968f90545caa1caf804f7ea4fc717c2b.tar.bz2
cmTarget: Fix debug report for interface-set compatibility types.
If the dependent target sets the property to boolean false, ensure that that appears in the debug report. Previously, the report output contained whether the property was consistent among dependencies, displaying 'TRUE', instead of the content of the property, which may be 'FALSE'. Return a std::pair from the consistentProperty method. This makes it possible to make the return value for string types easier to reason about. The return value of consistentProperty was previously set to an empty static string to emulate a 'true' value for the caller in commit 816b4a8a (cmTarget: Make consistentProperty return consistent content., 2013-10-22). The pair makes the consistency result properly typed.
Diffstat (limited to 'Source/cmAddDefinitionsCommand.h')
0 files changed, 0 insertions, 0 deletions