summaryrefslogtreecommitdiffstats
path: root/Source/cmInstallCommand.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-02-07 21:22:00 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-02-07 21:22:00 (GMT)
commitd4ffc0d3b927267ed16065b71d02f7d32c357d13 (patch)
tree1a3b188837c4bf9e3717213025e05f5ebaf71997 /Source/cmInstallCommand.cxx
parentbdb628145a2bd355a7253c8aba049752ee3f0a6e (diff)
downloadCMake-d4ffc0d3b927267ed16065b71d02f7d32c357d13.zip
CMake-d4ffc0d3b927267ed16065b71d02f7d32c357d13.tar.gz
CMake-d4ffc0d3b927267ed16065b71d02f7d32c357d13.tar.bz2
STYLE: add some comments
Alex
Diffstat (limited to 'Source/cmInstallCommand.cxx')
-rw-r--r--Source/cmInstallCommand.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx
index 8fc77d1..80dcdfc 100644
--- a/Source/cmInstallCommand.cxx
+++ b/Source/cmInstallCommand.cxx
@@ -223,6 +223,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
argHelper.Parse(&args, 0);
+ // now parse the generic args (i.e. the ones not specialized on LIBRARY/
+ // ARCHIVE, RUNTIME etc. (see above)
+ // These generic args also contain the targets and the export stuff
std::vector<std::string> unknownArgs;
cmInstallCommandArguments genericArgs;
cmCAStringVector targetList(&genericArgs.Parser, "TARGETS");
@@ -241,6 +244,8 @@ bool cmInstallCommand::HandleTargetsMode(std::vector<std::string> const& args)
cmInstallCommandArguments publicHeaderArgs;
cmInstallCommandArguments resourceArgs;
+ // now parse the args for specific parts of the target (e.g. LIBRARY,
+ // RUNTIME, ARCHIVE etc.
archiveArgs.Parse (&archiveArgVector.GetVector(), &unknownArgs);
libraryArgs.Parse (&libraryArgVector.GetVector(), &unknownArgs);
runtimeArgs.Parse (&runtimeArgVector.GetVector(), &unknownArgs);