mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
ENH: Add a way to overwrite compression extension
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user