mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
ENH: Moved ExpandListVariables out of individual commands. Argument evaluation rules are now very consistent. Double quotes can always be used to create exactly one argument, regardless of contents inside.
This commit is contained in:
@@ -31,19 +31,12 @@ class cmMacroFunctionBlocker : public cmFunctionBlocker
|
||||
public:
|
||||
cmMacroFunctionBlocker() {m_Executing = false;}
|
||||
virtual ~cmMacroFunctionBlocker() {}
|
||||
virtual bool IsFunctionBlocked(const char *name,
|
||||
const std::vector<std::string> &args,
|
||||
cmMakefile &mf);
|
||||
virtual bool ShouldRemove(const char *name,
|
||||
const std::vector<std::string> &args,
|
||||
cmMakefile &mf);
|
||||
virtual bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile &mf);
|
||||
virtual bool ShouldRemove(const cmListFileFunction&, cmMakefile &mf);
|
||||
virtual void ScopeEnded(cmMakefile &mf);
|
||||
|
||||
virtual int NeedExpandedVariables () { return 0; };
|
||||
|
||||
std::vector<std::string> m_Args;
|
||||
std::vector<std::string> m_Commands;
|
||||
std::vector<std::vector<std::string> > m_CommandArguments;
|
||||
std::vector<cmListFileFunction> m_Functions;
|
||||
bool m_Executing;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user