summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratedFileStream.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-02 12:52:54 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-01-02 12:52:54 (GMT)
commitb7ba65ed684a663be0085ae96dca3768ebdd3325 (patch)
treead4f4c9c3653f275e851cc838b77aa9b82ea2a9e /Source/cmGeneratedFileStream.h
parentf379128fa3264c41594381e910f8d5c6b2afefea (diff)
downloadCMake-b7ba65ed684a663be0085ae96dca3768ebdd3325.zip
CMake-b7ba65ed684a663be0085ae96dca3768ebdd3325.tar.gz
CMake-b7ba65ed684a663be0085ae96dca3768ebdd3325.tar.bz2
ENH: Add a way to overwrite compression extension
Diffstat (limited to 'Source/cmGeneratedFileStream.h')
-rw-r--r--Source/cmGeneratedFileStream.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGeneratedFileStream.h b/Source/cmGeneratedFileStream.h
index cb81d1d..6d0637c 100644
--- a/Source/cmGeneratedFileStream.h
+++ b/Source/cmGeneratedFileStream.h
@@ -66,6 +66,9 @@ protected:
// Whether the destionation file is compressed
bool m_Compress;
+
+ // Whether the destionation file is compressed
+ bool m_CompressExtraExtension;
};
/** \class cmGeneratedFileStream
@@ -132,6 +135,11 @@ public:
void SetCompression(bool compression);
/**
+ * Set whether compression has extra extension
+ */
+ void SetCompressionExtraExtension(bool ext);
+
+ /**
* Set name of the file that will hold the actual output. This method allows
* the output file to be changed during the use of cmGeneratedFileStream.
*/