summaryrefslogtreecommitdiffstats
path: root/Source/cmFindFileCommand.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-06-12 16:38:33 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-06-12 16:38:33 (GMT)
commit0a4af0735f2aeec74a723dd6af31db585f1b664e (patch)
treebf4ab5b590350d3f2203de3b797897ffb37b6596 /Source/cmFindFileCommand.h
parentd6e99fa8345f07a72308b8b33f4a31aa7fe9a0fd (diff)
downloadCMake-0a4af0735f2aeec74a723dd6af31db585f1b664e.zip
CMake-0a4af0735f2aeec74a723dd6af31db585f1b664e.tar.gz
CMake-0a4af0735f2aeec74a723dd6af31db585f1b664e.tar.bz2
cmake: Issue message independent of cmMakefile definition
The makefile is only used when called by the cmMessageCommand, so inline the use of it there. It otherwise creates an undesirable dependency on cmMakefile for issuing messages in the cmake instance, a violation of the Interface Segregation Principle. https://en.wikipedia.org/wiki/Interface_segregation_principle This also makes it more explicit that the variable definitions only affect the message() command. If an AUTHOR_WARNING is issued for any other reason, it is not affected. To affect that, it is necessary to set the cache variable instead of the regular variable. This is an unfortunate interface quirk, but one which can't be fixed easily now.
Diffstat (limited to 'Source/cmFindFileCommand.h')
0 files changed, 0 insertions, 0 deletions