summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 15:15:01 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-01-27 15:15:01 (GMT)
commit62b310bc52b9feefab32992f7bcebaecbf3aa857 (patch)
treef1070331289cf33a4e15edcf4f616005f6b3ff8b /Source/cmCTest.h
parent14477cee6e8a380e74f4cbf70afe5f3c3bfbd8a2 (diff)
downloadCMake-62b310bc52b9feefab32992f7bcebaecbf3aa857.zip
CMake-62b310bc52b9feefab32992f7bcebaecbf3aa857.tar.gz
CMake-62b310bc52b9feefab32992f7bcebaecbf3aa857.tar.bz2
ENH: Add compression support to XML files
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 2fdb033..9df0b80 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -30,6 +30,7 @@ class cmCTestCoverageHandler;
class cmCTestScriptHandler;
class cmCTestTestHandler;
class cmCTestUpdateHandler;
+class cmGeneratedFileStream;
class cmCTest
{
@@ -87,6 +88,7 @@ public:
* Check if CTest file exists
*/
bool CTestFileExists(const std::string& filename);
+ bool AddIfExists(tm_VectorOfStrings& files, const char* file);
/**
* Set the cmake test
@@ -140,7 +142,9 @@ public:
int GenerateNotesFile(const char* files);
bool OpenOutputFile(const std::string& path,
- const std::string& name, std::ofstream& stream);
+ const std::string& name,
+ cmGeneratedFileStream& stream,
+ bool compress = false);
static std::string MakeXMLSafe(const std::string&);
static std::string MakeURLSafe(const std::string&);
@@ -255,6 +259,8 @@ private:
bool m_InteractiveDebugMode;
bool m_ShortDateFormat;
+
+ bool m_CompressXMLFiles;
void BlockTestErrorDiagnostics();