mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05: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,15 +31,14 @@ public:
|
||||
/**
|
||||
* should a function be blocked
|
||||
*/
|
||||
virtual bool IsFunctionBlocked(const char *name, const std::vector<std::string> &args,
|
||||
virtual bool IsFunctionBlocked(const cmListFileFunction& lff,
|
||||
cmMakefile&mf) = 0;
|
||||
|
||||
/**
|
||||
* should this function blocker be removed, useful when one function adds a
|
||||
* blocker and another must remove it
|
||||
*/
|
||||
virtual bool ShouldRemove(const char *,
|
||||
const std::vector<std::string>&,
|
||||
virtual bool ShouldRemove(const cmListFileFunction& lff,
|
||||
cmMakefile&) {return false;}
|
||||
|
||||
/**
|
||||
@@ -50,8 +49,6 @@ public:
|
||||
virtual void ScopeEnded(cmMakefile&) {}
|
||||
|
||||
virtual ~cmFunctionBlocker() {}
|
||||
|
||||
virtual int NeedExpandedVariables () { return 1; };
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user