mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 15:48:52 +00:00
0a4af0735f
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
defaultmessage-result.txt | ||
defaultmessage-stderr.txt | ||
defaultmessage.cmake | ||
errormessage_deprecated-result.txt | ||
errormessage_deprecated-stderr.txt | ||
errormessage_deprecated.cmake | ||
errormessage_dev-result.txt | ||
errormessage_dev-stderr.txt | ||
errormessage_dev.cmake | ||
message-internal-warning-stderr.txt | ||
message-internal-warning.cmake | ||
nomessage-internal-warning-stderr.txt | ||
nomessage-internal-warning.cmake | ||
nomessage-result.txt | ||
nomessage.cmake | ||
RunCMakeTest.cmake | ||
warnmessage-result.txt | ||
warnmessage-stderr.txt | ||
warnmessage.cmake |