[Cmake-commits] [cmake-commits] hoffman committed cmVisualStudio10TargetGenerator.cxx 1.12 1.13

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Aug 5 10:45:13 EDT 2009


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

Modified Files:
	cmVisualStudio10TargetGenerator.cxx 
Log Message:
Allow for static libraries to depend on other targets so that the MSBuild runs build things in the correct order


Index: cmVisualStudio10TargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmVisualStudio10TargetGenerator.cxx,v
retrieving revision 1.12
retrieving revision 1.13
diff -C 2 -d -r1.12 -r1.13
*** cmVisualStudio10TargetGenerator.cxx	14 Jul 2009 18:16:46 -0000	1.12
--- cmVisualStudio10TargetGenerator.cxx	5 Aug 2009 14:45:10 -0000	1.13
***************
*** 1222,1230 ****
  void cmVisualStudio10TargetGenerator::WriteProjectReferences()
  {
-   // for static libs do not list references
-   if (this->Target->GetType() == cmTarget::STATIC_LIBRARY)
-     {
-     return;
-     }
    cmGlobalGenerator::TargetDependSet& depends
      = this->GlobalGenerator->GetTargetDirectDepends(*this->Target);
--- 1222,1225 ----



More information about the Cmake-commits mailing list