diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-18 16:10:03 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-05 19:44:25 (GMT) |
commit | bd990c803b40e1532cab6b29c75414ca6f30e782 (patch) | |
tree | 6e724661a3b4e195b3d437cf11053f797b8d9bcf /Source/cmInstallFilesCommand.cxx | |
parent | 5fc53f1edb2d003595ef224b31a805c3af0dc0e6 (diff) | |
download | CMake-bd990c803b40e1532cab6b29c75414ca6f30e782.zip CMake-bd990c803b40e1532cab6b29c75414ca6f30e782.tar.gz CMake-bd990c803b40e1532cab6b29c75414ca6f30e782.tar.bz2 |
Remove use of ExpandSourceListArguments.
By now, it is only an expensive copy.
Diffstat (limited to 'Source/cmInstallFilesCommand.cxx')
-rw-r--r-- | Source/cmInstallFilesCommand.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmInstallFilesCommand.cxx b/Source/cmInstallFilesCommand.cxx index 06a78e5..85e5345 100644 --- a/Source/cmInstallFilesCommand.cxx +++ b/Source/cmInstallFilesCommand.cxx @@ -15,9 +15,9 @@ // cmExecutableCommand bool cmInstallFilesCommand -::InitialPass(std::vector<std::string> const& argsIn, cmExecutionStatus &) +::InitialPass(std::vector<std::string> const& args, cmExecutionStatus &) { - if(argsIn.size() < 2) + if(args.size() < 2) { this->SetError("called with incorrect number of arguments"); return false; @@ -27,9 +27,6 @@ bool cmInstallFilesCommand this->Makefile->GetLocalGenerator() ->GetGlobalGenerator()->EnableInstallTarget(); - std::vector<std::string> args; - this->Makefile->ExpandSourceListArguments(argsIn, args, 2); - this->Destination = args[0]; if((args.size() > 1) && (args[1] == "FILES")) |