summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-12-23 20:01:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-12-23 20:01:10 (GMT)
commit09ba0a0a31ccc019020092f8cd219e26fb44fa03 (patch)
treec8d3ca8762fbeb9f0d977b1e4ac069e369aaa484 /Source/cmake.cxx
parent79c23436d3a0cf90140684c876a358d225810efb (diff)
downloadCMake-09ba0a0a31ccc019020092f8cd219e26fb44fa03.zip
CMake-09ba0a0a31ccc019020092f8cd219e26fb44fa03.tar.gz
CMake-09ba0a0a31ccc019020092f8cd219e26fb44fa03.tar.bz2
BUG: keep more of the case information
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx6
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);