[Cmake-commits] [cmake-commits] king committed cmLocalUnixMakefileGenerator3.cxx 1.253 1.254
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Oct 9 15:08:55 EDT 2008
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv21289/Source
Modified Files:
cmLocalUnixMakefileGenerator3.cxx
Log Message:
ENH: Simplify makefile ref to interactive editor
The CMAKE_EDIT_COMMAND make variable need not be constructed with
ConvertToOutputForExisting. The CMAKE_COMMAND variable works fine
without it.
Index: cmLocalUnixMakefileGenerator3.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalUnixMakefileGenerator3.cxx,v
retrieving revision 1.253
retrieving revision 1.254
diff -C 2 -d -r1.253 -r1.254
*** cmLocalUnixMakefileGenerator3.cxx 6 Oct 2008 15:04:06 -0000 1.253
--- cmLocalUnixMakefileGenerator3.cxx 9 Oct 2008 19:08:53 -0000 1.254
***************
*** 698,708 ****
<< "\n";
! if(this->Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))
{
makefileStream
<< "# The program to use to edit the cache.\n"
<< "CMAKE_EDIT_COMMAND = "
! << (this->ConvertToOutputForExisting(
! this->Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))) << "\n"
<< "\n";
}
--- 698,708 ----
<< "\n";
! if(const char* edit_cmd =
! this->Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))
{
makefileStream
<< "# The program to use to edit the cache.\n"
<< "CMAKE_EDIT_COMMAND = "
! << this->Convert(edit_cmd,FULL,SHELL) << "\n"
<< "\n";
}
More information about the Cmake-commits
mailing list