diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index bba8a38..19172f9 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -64,6 +64,7 @@ void cmNeedBackwardsCompatibility(const std::string& variable, cmake::cmake() { + m_DebugTryCompile = false; #ifdef __APPLE__ struct rlimit rlp; if(!getrlimit(RLIMIT_STACK, &rlp)) @@ -320,6 +321,11 @@ void cmake::SetArgs(const std::vector<std::string>& args) { // skip for now } + else if(arg.find("--debug-trycompile",0) == 0) + { + std::cout << "debug trycompile on\n"; + this->DebugTryCompileOn(); + } else if(arg.find("-G",0) == 0) { std::string value = arg.substr(2); |