summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-02 22:10:25 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-06-02 22:10:25 (GMT)
commitd56bed98d7d8868a739dddb76bef357b152ad4d1 (patch)
treedd934ae2fa5b57b6b3cdbaa7e4c5768fa486bb56 /Source/cmCTest.cxx
parent8f6c1d3baaef242ffc70ec01017059cc53aed39d (diff)
downloadCMake-d56bed98d7d8868a739dddb76bef357b152ad4d1.zip
CMake-d56bed98d7d8868a739dddb76bef357b152ad4d1.tar.gz
CMake-d56bed98d7d8868a739dddb76bef357b152ad4d1.tar.bz2
ENH: Add debug flag
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 942f770..99ed55c 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1047,6 +1047,10 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output)
cmSystemTools::ReplaceString(this->m_ConfigType, ".\\", "");
}
+ if( arg.find("--debug",0) == 0 )
+ {
+ this->m_Debug = true;
+ }
if( arg.find("-Q",0) == 0 || arg.find("--quiet",0) == 0 )
{
this->m_Quiet = true;