diff options
author | David Golub <golubdr@gmail.com> | 2012-05-09 19:33:44 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2012-11-20 01:08:31 (GMT) |
commit | 6ff730a4983d15f3e115a919eb18d866f8c65507 (patch) | |
tree | 794fb247cc13601800b312228dbf72872e79bbbb /Source/CPack/cmCPackNSISGenerator.h | |
parent | 51da766a6d85397f9244f5ec426091848d9318ff (diff) | |
download | CMake-6ff730a4983d15f3e115a919eb18d866f8c65507.zip CMake-6ff730a4983d15f3e115a919eb18d866f8c65507.tar.gz CMake-6ff730a4983d15f3e115a919eb18d866f8c65507.tar.bz2 |
CPack/NSIS: Add support for 64-bit NSIS (#13203)
Diffstat (limited to 'Source/CPack/cmCPackNSISGenerator.h')
-rw-r--r-- | Source/CPack/cmCPackNSISGenerator.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackNSISGenerator.h b/Source/CPack/cmCPackNSISGenerator.h index 8224854..e46fbda 100644 --- a/Source/CPack/cmCPackNSISGenerator.h +++ b/Source/CPack/cmCPackNSISGenerator.h @@ -27,10 +27,13 @@ class cmCPackNSISGenerator : public cmCPackGenerator public: cmCPackTypeMacro(cmCPackNSISGenerator, cmCPackGenerator); + static cmCPackGenerator* CreateGenerator64() + { return new cmCPackNSISGenerator(true); } + /** * Construct generator */ - cmCPackNSISGenerator(); + cmCPackNSISGenerator(bool nsis64 = false); virtual ~cmCPackNSISGenerator(); protected: @@ -77,6 +80,8 @@ protected: /// Translations any newlines found in the string into \\r\\n, so that the /// resulting string can be used within NSIS. static std::string TranslateNewlines(std::string str); + + bool Nsis64; }; #endif |