[Cmake-commits] [cmake-commits] king committed cmLocalVisualStudio7Generator.cxx 1.241 1.242
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Jun 16 11:44:22 EDT 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv4407/Source
Modified Files:
cmLocalVisualStudio7Generator.cxx
Log Message:
ENH: Create exe implib dir in VS pre-link rule
This moves creation of an executable's import library directory in VS
projects from the pre-build step to the pre-link step. It makes sense
to create the directory at the last moment.
Index: cmLocalVisualStudio7Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio7Generator.cxx,v
retrieving revision 1.241
retrieving revision 1.242
diff -C 2 -d -r1.241 -r1.242
*** cmLocalVisualStudio7Generator.cxx 16 Jun 2009 15:44:06 -0000 1.241
--- cmLocalVisualStudio7Generator.cxx 16 Jun 2009 15:44:19 -0000 1.242
***************
*** 1694,1703 ****
event.Start(tool);
event.Write(target.GetPreBuildCommands());
- cmsys::auto_ptr<cmCustomCommand> pcc(
- this->MaybeCreateImplibDir(target, configName));
- if(pcc.get())
- {
- event.Write(*pcc);
- }
event.Finish();
--- 1694,1697 ----
***************
*** 1706,1709 ****
--- 1700,1709 ----
event.Start(tool);
event.Write(target.GetPreLinkCommands());
+ cmsys::auto_ptr<cmCustomCommand> pcc(
+ this->MaybeCreateImplibDir(target, configName));
+ if(pcc.get())
+ {
+ event.Write(*pcc);
+ }
event.Finish();
More information about the Cmake-commits
mailing list