summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-06 17:17:37 (GMT)
committerDaniel Eiband <daniel.eiband@brainlab.com>2019-09-06 20:22:22 (GMT)
commit75692393628d757a3dadb090179e167cd9539e2f (patch)
tree97624a27032783e147a3e919d7a2f8309e6cca81 /Source/cmMakefile.h
parentca8c3d64c8accebeacf322f0574494ffddb039c5 (diff)
downloadCMake-75692393628d757a3dadb090179e167cd9539e2f.zip
CMake-75692393628d757a3dadb090179e167cd9539e2f.tar.gz
CMake-75692393628d757a3dadb090179e167cd9539e2f.tar.bz2
cmMakefile: set GENERATED property of outputs upfront
Setting the GENERATED property of outputs upfront is a precondition for delayed custom command creation (generator expressions in outputs). Issue: 12877
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 09f53c9..52464d6 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -1030,6 +1030,11 @@ private:
bool escapeQuotes, bool noEscapes,
bool atOnly, const char* filename,
long line, bool replaceAt) const;
+
+ void CreateGeneratedSources(
+ const std::vector<std::string>& outputs,
+ cmSourceFileLocationKind kind = cmSourceFileLocationKind::Ambiguous);
+
/**
* Old version of GetSourceFileWithOutput(const std::string&) kept for
* backward-compatibility. It implements a linear search and support