[cmake-commits] alex committed cmInstallCommand.cxx 1.44 1.45
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Feb 7 16:22:02 EST 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv31533
Modified Files:
cmInstallCommand.cxx
Log Message:
STYLE: add some comments
Alex
Index: cmInstallCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallCommand.cxx,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- cmInstallCommand.cxx 6 Feb 2008 19:20:35 -0000 1.44
+++ cmInstallCommand.cxx 7 Feb 2008 21:22:00 -0000 1.45
@@ -223,6 +223,9 @@
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 @@
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);
More information about the Cmake-commits
mailing list