summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-06 21:58:47 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-06 21:58:47 (GMT)
commitb41978fef7280baf870d8d6af6f09f317e2c0db2 (patch)
tree1159af33b89a587b282d026c8f45e9ff35757180 /Source/cmLocalUnixMakefileGenerator.cxx
parent123759d9f588ce53a6109e57e41b3e656448bbe2 (diff)
downloadCMake-b41978fef7280baf870d8d6af6f09f317e2c0db2.zip
CMake-b41978fef7280baf870d8d6af6f09f317e2c0db2.tar.gz
CMake-b41978fef7280baf870d8d6af6f09f317e2c0db2.tar.bz2
ENH: If CMAKE_EDIT_COMMAND is not specified, use cmake -i
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 4c6752f..e7bf258 100644
--- a/Source/cmLocalUnixMakefileGenerator.cxx
+++ b/Source/cmLocalUnixMakefileGenerator.cxx
@@ -2432,6 +2432,15 @@ void cmLocalUnixMakefileGenerator::OutputMakeRules(std::ostream& fout)
"$(CMAKE_EDIT_COMMAND) "
"-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)");
}
+ else
+ {
+ this->OutputMakeRule(fout,
+ "edit CMakeCache.txt",
+ "edit_cache",
+ 0,
+ "$(CMAKE_COMMAND) "
+ "-H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) -i");
+ }
this->OutputMakeRule(fout,
"CMakeCache.txt",