summaryrefslogtreecommitdiff
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-08-24 14:27:18 -0400
committerAlexander Neundorf <neundorf@kde.org>2007-08-24 14:27:18 -0400
commit938ed7710ab15ad13f51bd17243cfe20cf8285eb (patch)
tree4234154b94405fba1de7ed626af9d9fdc4b7a33d /Source/cmInstallCommand.cxx
parent9220e974017e34b53ba0650ec45c1a16566b6b88 (diff)
downloadcmake-938ed7710ab15ad13f51bd17243cfe20cf8285eb.tar.gz
STYLE: fix MSVC warnings by making the cmCommandArgumentsHelper a member of
cmInstallCommandArguments instead of deriving from it Alex
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index a27ef31068..c2ed512fd6 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -176,8 +176,8 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
std::vector<std::string> unknownArgs;
cmInstallCommandArguments genericArgs;
- cmCAStringVector targetList(&genericArgs, "TARGETS");
- cmCAString exports(&genericArgs, "EXPORT", &genericArgs.ArgumentGroup);
+ cmCAStringVector targetList(&genericArgs.Parser, "TARGETS");
+ cmCAString exports(&genericArgs.Parser,"EXPORT", &genericArgs.ArgumentGroup);
targetList.Follows(0);
genericArgs.ArgumentGroup.Follows(&targetList);
genericArgs.Parse(&genericArgVector.GetVector(), &unknownArgs);
@@ -509,7 +509,7 @@ bool cmInstallCommand::HandleFilesMode(std::vector<std::string> const& args)
// This is the FILES mode.
bool programs = (args[0] == "PROGRAMS");
cmInstallCommandArguments ica;
- cmCAStringVector files(&ica, programs ? "PROGRAMS" : "FILES");
+ cmCAStringVector files(&ica.Parser, programs ? "PROGRAMS" : "FILES");
files.Follows(0);
ica.ArgumentGroup.Follows(&files);
std::vector<std::string> unknownArgs;
@@ -954,9 +954,9 @@ bool cmInstallCommand::HandleExportMode(std::vector<std::string> const& args)
{
// This is the EXPORT mode.
cmInstallCommandArguments ica;
- cmCAStringVector exports(&ica, "EXPORT");
- cmCAString prefix(&ica, "PREFIX", &ica.ArgumentGroup);
- cmCAString filename(&ica, "FILENAME", &ica.ArgumentGroup);
+ cmCAStringVector exports(&ica.Parser, "EXPORT");
+ cmCAString prefix(&ica.Parser, "PREFIX", &ica.ArgumentGroup);
+ cmCAString filename(&ica.Parser, "FILENAME", &ica.ArgumentGroup);
exports.Follows(0);
ica.ArgumentGroup.Follows(&exports);