mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
ENH: If CMAKE_EDIT_COMMAND is not specified, use cmake -i
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user