ENH: Add a way to overwrite compression extension

This commit is contained in:
Andy Cedilnik
2006-01-02 07:52:54 -05:00
parent f379128fa3
commit b7ba65ed68
2 changed files with 19 additions and 3 deletions

View File

@@ -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
@@ -131,6 +134,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.