summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGeneratorFactory.cxx
diff options
context:
space:
mode:
authorJannik Alber <alber.jannik@gmail.com>2022-10-25 20:13:02 (GMT)
committerBrad King <brad.king@kitware.com>2023-04-28 13:33:28 (GMT)
commit1d6db661796b2b764e845b7cf6b9f8399037c668 (patch)
tree89f470f1bf4e927cd085952c3bffbeadd23027dc /Source/CPack/cmCPackGeneratorFactory.cxx
parent9b0dc652ffc328394e70bf6ee015b50cfefa4125 (diff)
downloadCMake-1d6db661796b2b764e845b7cf6b9f8399037c668.zip
CMake-1d6db661796b2b764e845b7cf6b9f8399037c668.tar.gz
CMake-1d6db661796b2b764e845b7cf6b9f8399037c668.tar.bz2
CPack: Add Inno Setup generator
Diffstat (limited to 'Source/CPack/cmCPackGeneratorFactory.cxx')
-rw-r--r--Source/CPack/cmCPackGeneratorFactory.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGeneratorFactory.cxx b/Source/CPack/cmCPackGeneratorFactory.cxx
index efb94b9..6ca48bf 100644
--- a/Source/CPack/cmCPackGeneratorFactory.cxx
+++ b/Source/CPack/cmCPackGeneratorFactory.cxx
@@ -13,6 +13,7 @@
#include "cmCPackDebGenerator.h"
#include "cmCPackExternalGenerator.h"
#include "cmCPackGenerator.h"
+#include "cmCPackInnoSetupGenerator.h"
#include "cmCPackLog.h"
#include "cmCPackNSISGenerator.h"
#include "cmCPackNuGetGenerator.h"
@@ -60,6 +61,10 @@ cmCPackGeneratorFactory::cmCPackGeneratorFactory()
this->RegisterGenerator("STGZ", "Self extracting Tar GZip compression",
cmCPackSTGZGenerator::CreateGenerator);
}
+ if (cmCPackInnoSetupGenerator::CanGenerate()) {
+ this->RegisterGenerator("INNOSETUP", "Inno Setup packages",
+ cmCPackInnoSetupGenerator::CreateGenerator);
+ }
if (cmCPackNSISGenerator::CanGenerate()) {
this->RegisterGenerator("NSIS", "Null Soft Installer",
cmCPackNSISGenerator::CreateGenerator);