summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-02-12 14:49:42 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-02-12 14:49:42 (GMT)
commit3fa087c8ab7bb6d1aa1c6a1edc32edd66e781bb8 (patch)
treef32e5b7a4fda680667ac13c1c9a76e2c0836dcee /Source/cmake.h
parent88eca37d4ef804efc7d6cc204cf96ca07abd8482 (diff)
downloadCMake-3fa087c8ab7bb6d1aa1c6a1edc32edd66e781bb8.zip
CMake-3fa087c8ab7bb6d1aa1c6a1edc32edd66e781bb8.tar.gz
CMake-3fa087c8ab7bb6d1aa1c6a1edc32edd66e781bb8.tar.bz2
ENH: fix make edit_cache for cmake-gui
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 80c9de8..e1eda4a 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -329,6 +329,10 @@ class cmake
// Define the properties
static void DefineProperties(cmake *cm);
+ void SetCMakeEditCommand(const char* s)
+ {
+ this->CMakeEditCommand = s;
+ }
protected:
int HandleDeleteCacheVariables(const char* var);
cmPropertyMap Properties;
@@ -413,6 +417,7 @@ private:
bool InTryCompile;
bool ScriptMode;
bool DebugOutput;
+ std::string CMakeEditCommand;
std::string CMakeCommand;
std::string CXXEnvironment;
std::string CCEnvironment;