From d4ffc0d3b927267ed16065b71d02f7d32c357d13 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Thu, 7 Feb 2008 16:22:00 -0500 Subject: [PATCH] STYLE: add some comments Alex --- Source/cmInstallCommand.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/cmInstallCommand.cxx b/Source/cmInstallCommand.cxx index 8fc77d109..80dcdfc66 100644 --- a/Source/cmInstallCommand.cxx +++ b/Source/cmInstallCommand.cxx @@ -223,6 +223,9 @@ bool cmInstallCommand::HandleTargetsMode(std::vector 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 unknownArgs; cmInstallCommandArguments genericArgs; cmCAStringVector targetList(&genericArgs.Parser, "TARGETS"); @@ -241,6 +244,8 @@ bool cmInstallCommand::HandleTargetsMode(std::vector 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);