summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-10-07 18:49:30 (GMT)
committerBrad King <brad.king@kitware.com>2020-10-08 16:20:33 (GMT)
commit26464da5d3919cf0c5a6fc3e34cf143bd65d9938 (patch)
tree7cef3720acb41c2791462803f234fcf3c01e86fd /Source/cmMakefile.h
parent142a29b46f6e34b45354425c0da9c49aff9c362c (diff)
downloadCMake-26464da5d3919cf0c5a6fc3e34cf143bd65d9938.zip
CMake-26464da5d3919cf0c5a6fc3e34cf143bd65d9938.tar.gz
CMake-26464da5d3919cf0c5a6fc3e34cf143bd65d9938.tar.bz2
cmMakefile: Drop unnecessary custom command APPEND check
Since commit 777ceaea94 (cmMakefile: Delay custom command creation, 2019-10-17, v3.17.0-rc1~352^2) we process custom command declarations at generate time. This includes the append-to-non-existing-command check, so we do not need it at configure time.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index c7940fb..b4d2336 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -225,7 +225,7 @@ public:
const std::string& source,
const cmCustomCommandLines& commandLines,
const char* comment);
- bool AppendCustomCommandToOutput(
+ void AppendCustomCommandToOutput(
const std::string& output, const std::vector<std::string>& depends,
const cmImplicitDependsList& implicit_depends,
const cmCustomCommandLines& commandLines);
@@ -1133,10 +1133,6 @@ private:
std::vector<BT<GeneratorAction>> GeneratorActions;
bool GeneratorActionsInvoked = false;
- bool DelayedOutputFilesHaveGenex = false;
- std::vector<std::string> DelayedOutputFiles;
-
- void AddDelayedOutput(std::string const& output);
/**
* See LinearGetSourceFileWithOutput for background information
@@ -1156,7 +1152,6 @@ private:
struct SourceEntry
{
cmSourcesWithOutput Sources;
- bool SourceMightBeOutput = false;
};
// A map for fast output to input look up.
@@ -1167,11 +1162,6 @@ private:
void UpdateOutputToSourceMap(std::string const& output, cmSourceFile* source,
bool byproduct);
- /**
- * Return if the provided source file might have a custom command.
- */
- bool MightHaveCustomCommand(const std::string& name) const;
-
bool CheckSystemVars;
bool CheckCMP0000;
std::set<std::string> WarnedCMP0074;