diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-09-12 19:29:33 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-07 06:37:57 (GMT) |
commit | 64f73150b8e5e5cad216444c0468e8e59434d973 (patch) | |
tree | f5e132d6eaff498e894daa692bd9330e4a429ca4 /Source/cmTarget.cxx | |
parent | c38e30f68c7beffdc65af0f3799ae82ce60aaf67 (diff) | |
download | CMake-64f73150b8e5e5cad216444c0468e8e59434d973.zip CMake-64f73150b8e5e5cad216444c0468e8e59434d973.tar.gz CMake-64f73150b8e5e5cad216444c0468e8e59434d973.tar.bz2 |
cmTarget: Add API for generate-time source addition.
This method is a refactoring artifact. It will be removed in a
follow-up.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 7fd8d86..16378cc 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -960,6 +960,11 @@ cmSourceFile* cmTarget::AddSource(const std::string& src) return this->Makefile->GetOrCreateSource(src); } +void cmTarget::AddGenerateTimeSource(const std::string& src) +{ + this->AddSource(src); +} + //---------------------------------------------------------------------------- void cmTarget::MergeLinkLibraries( cmMakefile& mf, const std::string& selfname, |