summaryrefslogtreecommitdiffstats
path: root/Source/cmNMakeMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-05-07 13:02:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-05-07 13:02:45 (GMT)
commit3bc9830686f25304024d3bc2849d530ac057763d (patch)
tree13031f07ef9e2128ca7a3e23d535242ca3634e85 /Source/cmNMakeMakefileGenerator.cxx
parente9e69b7e5e5a331662093f801ada63494ffac0be (diff)
downloadCMake-3bc9830686f25304024d3bc2849d530ac057763d.zip
CMake-3bc9830686f25304024d3bc2849d530ac057763d.tar.gz
CMake-3bc9830686f25304024d3bc2849d530ac057763d.tar.bz2
ENH: add an edit_cache target that runs ccmake or CMakeSetup
Diffstat (limited to 'Source/cmNMakeMakefileGenerator.cxx')
-rw-r--r--Source/cmNMakeMakefileGenerator.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmNMakeMakefileGenerator.cxx b/Source/cmNMakeMakefileGenerator.cxx
index eee9685..cdb42b1 100644
--- a/Source/cmNMakeMakefileGenerator.cxx
+++ b/Source/cmNMakeMakefileGenerator.cxx
@@ -192,6 +192,13 @@ void cmNMakeMakefileGenerator::OutputMakeVariables(std::ostream& fout)
fout << "CMAKE_COMMAND = "
<< this->ShortPath(cmakecommand.c_str()) << "\n";
+ if(m_Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))
+ {
+ fout << "CMAKE_EDIT_COMMAND = "
+ << this->ShortPath(m_Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))
+ << "\n";
+ }
+
fout << "CMAKE_CURRENT_SOURCE = "
<< this->ShortPath(m_Makefile->GetStartDirectory() )
<< "\n";