diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-03-17 15:54:11 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-03-31 21:18:43 (GMT) |
commit | 0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6 (patch) | |
tree | 8536c32f3e3d496b6987a64b9bd5bc02752a9da9 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 99a9c51f1a65b58f366506929b3b82297809c1ca (diff) | |
download | CMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.zip CMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.tar.gz CMake-0ed5ce4cd8cdd7613a5fa43c9a9fc48f210c90f6.tar.bz2 |
cmTarget: Rename AddSource method for backward compatibility.
Add a new AddSource method for future use.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index d4eb85b..f93fc12 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -412,7 +412,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root, std::string listfile = mf->GetStartDirectory(); listfile += "/"; listfile += "CMakeLists.txt"; - allbuild->AddSource(listfile.c_str()); + allbuild->AddSourceCMP0049(listfile.c_str()); // Add XCODE depend helper std::string dir = mf->GetCurrentOutputDirectory(); @@ -495,7 +495,7 @@ cmGlobalXCodeGenerator::AddExtraTargets(cmLocalGenerator* root, listfile = lg->GetMakefile()->GetStartDirectory(); listfile += "/"; listfile += "CMakeLists.txt"; - target.AddSource(listfile.c_str()); + target.AddSourceCMP0049(listfile.c_str()); } } } |