summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-08-15 18:53:15 (GMT)
committerRaul Tambre <raul@tambre.ee>2020-08-20 14:41:52 (GMT)
commit27a912193bfe77e400784b152b1cd67003915c37 (patch)
tree5919a51c400894c9891720f44b842d347a892b31 /Source/cmMakefile.h
parent2a8f363a54c77bf1f110deabf1933e71a93ef3f4 (diff)
downloadCMake-27a912193bfe77e400784b152b1cd67003915c37.zip
CMake-27a912193bfe77e400784b152b1cd67003915c37.tar.gz
CMake-27a912193bfe77e400784b152b1cd67003915c37.tar.bz2
file(GENERATE): Add TARGET argument
Adds TARGET argument to file(GENERATE) to make resolving generator expressions requiring a target possible. Implements #21101, fixes #21074.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 80d80d3..69894b1 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -949,7 +949,7 @@ public:
void EnforceDirectoryLevelRules() const;
void AddEvaluationFile(
- const std::string& inputFile,
+ const std::string& inputFile, const std::string& targetName,
std::unique_ptr<cmCompiledGeneratorExpression> outputName,
std::unique_ptr<cmCompiledGeneratorExpression> condition,
bool inputIsContent);