diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-12-23 20:01:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-12-23 20:01:10 (GMT) |
commit | 09ba0a0a31ccc019020092f8cd219e26fb44fa03 (patch) | |
tree | c8d3ca8762fbeb9f0d977b1e4ac069e369aaa484 /Source/cmake.h | |
parent | 79c23436d3a0cf90140684c876a358d225810efb (diff) | |
download | CMake-09ba0a0a31ccc019020092f8cd219e26fb44fa03.zip CMake-09ba0a0a31ccc019020092f8cd219e26fb44fa03.tar.gz CMake-09ba0a0a31ccc019020092f8cd219e26fb44fa03.tar.bz2 |
BUG: keep more of the case information
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index eca7694..d818070 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -1,3 +1,5 @@ +#ifndef cmake_h +#define cmake_h /*========================================================================= Program: CMake - Cross-Platform Makefile Generator @@ -252,6 +254,10 @@ class cmake void SetScriptMode(bool mode) { m_ScriptMode = mode; } bool GetScriptMode() { return m_ScriptMode; } + ///! Debug the try compile stuff by not delelting the files + bool GetDebugTryCompile(){return m_DebugTryCompile;} + void DebugTryCompileOn(){m_DebugTryCompile = true;} + protected: typedef cmGlobalGenerator* (*CreateGeneratorFunctionType)(); typedef std::map<cmStdString, CreateGeneratorFunctionType> RegisteredGeneratorsMap; @@ -294,6 +300,7 @@ private: std::string m_CMakeCommand; const char* m_CXXEnvironment; const char* m_CCEnvironment; + bool m_DebugTryCompile; }; #define CMAKE_STANDARD_OPTIONS_TABLE \ @@ -323,3 +330,4 @@ private: "included in each directory of a source tree with the name CMakeLists.txt. " \ "Users build a project by using CMake to generate a build system " \ "for a native tool on their platform.", 0} +#endif |