[Cmake-commits] [cmake-commits] hoffman committed cmVisualStudio10TargetGenerator.cxx 1.8 1.9

cmake-commits at cmake.org cmake-commits at cmake.org
Fri Jul 10 12:26:46 EDT 2009


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

Modified Files:
	cmVisualStudio10TargetGenerator.cxx 
Log Message:
ENH: change so rules show up in GUI, must be windows path


Index: cmVisualStudio10TargetGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmVisualStudio10TargetGenerator.cxx,v
retrieving revision 1.8
retrieving revision 1.9
diff -C 2 -d -r1.8 -r1.9
*** cmVisualStudio10TargetGenerator.cxx	10 Jul 2009 13:12:38 -0000	1.8
--- cmVisualStudio10TargetGenerator.cxx	10 Jul 2009 16:26:39 -0000	1.9
***************
*** 271,277 ****
      (this->GlobalGenerator)->GetConfigurations(); 
    this->WriteString("<CustomBuild Include=\"", 2);
!   (*this->BuildFileStream ) << 
!     cmSystemTools::RelativePath(this->Makefile->GetCurrentOutputDirectory(),
!                                 sourcePath.c_str()) << "\">\n";
    for(std::vector<std::string>::iterator i = configs->begin();
        i != configs->end(); ++i)
--- 271,280 ----
      (this->GlobalGenerator)->GetConfigurations(); 
    this->WriteString("<CustomBuild Include=\"", 2);
!   std::string path =
!     cmSystemTools::RelativePath(
!       this->Makefile->GetCurrentOutputDirectory(),
!       sourcePath.c_str());
!   this->ConvertToWindowsSlash(path);
!   (*this->BuildFileStream ) << path << "\">\n";
    for(std::vector<std::string>::iterator i = configs->begin();
        i != configs->end(); ++i)



More information about the Cmake-commits mailing list