summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorDaniel Eiband <daniel.eiband@brainlab.com>2019-09-14 20:59:05 (GMT)
committerDaniel Eiband <daniel.eiband@brainlab.com>2019-09-17 20:52:32 (GMT)
commit0e1faa28cbd12d400b876f7a21d91aad5a837196 (patch)
tree172e3de65933e8056a996fc923a06f90a62081c2 /Source/cmTarget.h
parent56c204e8eb8914b2ca273a56119cf1c40e13d75d (diff)
downloadCMake-0e1faa28cbd12d400b876f7a21d91aad5a837196.zip
CMake-0e1faa28cbd12d400b876f7a21d91aad5a837196.tar.gz
CMake-0e1faa28cbd12d400b876f7a21d91aad5a837196.tar.bz2
cmMakefile: Separate custom command setup from actual creation
Refactor custom command manipulation functions to consist of a setup and a commit stage. The commit stage will be delayed to generate time.
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index e9bcffe..f4726d3 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -103,7 +103,7 @@ public:
//! Add sources to the target.
void AddSources(std::vector<std::string> const& srcs);
void AddTracedSources(std::vector<std::string> const& srcs);
- cmSourceFile* AddSourceCMP0049(const std::string& src);
+ std::string GetSourceCMP0049(const std::string& src);
cmSourceFile* AddSource(const std::string& src, bool before = false);
//! how we identify a library, by name and type