summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-09-12 19:29:33 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-07 06:37:57 (GMT)
commit64f73150b8e5e5cad216444c0468e8e59434d973 (patch)
treef5e132d6eaff498e894daa692bd9330e4a429ca4 /Source/cmGeneratorTarget.cxx
parentc38e30f68c7beffdc65af0f3799ae82ce60aaf67 (diff)
downloadCMake-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/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index dc399d8..83f9cd2 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -404,7 +404,7 @@ std::string cmGeneratorTarget::GetOutputName(const std::string& config,
void cmGeneratorTarget::AddSource(const std::string& src)
{
- this->Target->AddSource(src);
+ this->Target->AddGenerateTimeSource(src);
}
void cmGeneratorTarget::AddTracedSources(std::vector<std::string> const& srcs)