[Cmake-commits] [cmake-commits] king committed cmLocalVisualStudio6Generator.cxx 1.153 1.154

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Jun 16 11:57:25 EDT 2009


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv30334/Source

Modified Files:
	cmLocalVisualStudio6Generator.cxx 
Log Message:
BUG: Create an exe's implib output dir for VS 6

VS 6 forgets to create the output directory for an executable's import
library in case the exe dllexport-s symbols.  We work around this VS bug
by creating a pre-link event on the executable target to make the
directory.


Index: cmLocalVisualStudio6Generator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalVisualStudio6Generator.cxx,v
retrieving revision 1.153
retrieving revision 1.154
diff -C 2 -d -r1.153 -r1.154
*** cmLocalVisualStudio6Generator.cxx	16 Jun 2009 15:57:18 -0000	1.153
--- cmLocalVisualStudio6Generator.cxx	16 Jun 2009 15:57:23 -0000	1.154
***************
*** 846,849 ****
--- 846,855 ----
    event.Write(target.GetPreBuildCommands());
    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