mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 13:22:22 -05:00
cm*FunctionBlocker: Move to source file
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
|
||||
#include "cmAlgorithms.h"
|
||||
#include "cmExecutionStatus.h"
|
||||
#include "cmFunctionBlocker.h"
|
||||
#include "cmListFileCache.h"
|
||||
#include "cmMakefile.h"
|
||||
#include "cmPolicies.h"
|
||||
#include "cmRange.h"
|
||||
@@ -102,6 +104,18 @@ bool cmFunctionHelperCommand::operator()(
|
||||
return true;
|
||||
}
|
||||
|
||||
class cmFunctionFunctionBlocker : public cmFunctionBlocker
|
||||
{
|
||||
public:
|
||||
bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile& mf,
|
||||
cmExecutionStatus&) override;
|
||||
bool ShouldRemove(const cmListFileFunction&, cmMakefile& mf) override;
|
||||
|
||||
std::vector<std::string> Args;
|
||||
std::vector<cmListFileFunction> Functions;
|
||||
int Depth = 0;
|
||||
};
|
||||
|
||||
bool cmFunctionFunctionBlocker::IsFunctionBlocked(
|
||||
const cmListFileFunction& lff, cmMakefile& mf, cmExecutionStatus&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user