diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-09-03 15:22:44 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-05 13:49:59 (GMT) |
commit | 5a365420866849ed0c5cb54ebae5ca96bd5bd984 (patch) | |
tree | 55e2e46c032e2433eb0b7b591bfd2451b6a75663 /Source/cmGlobalGeneratorFactory.h | |
parent | 3059e6aed7ac3e773dd1f184558b9fd8a4b7b11e (diff) | |
download | CMake-5a365420866849ed0c5cb54ebae5ca96bd5bd984.zip CMake-5a365420866849ed0c5cb54ebae5ca96bd5bd984.tar.gz CMake-5a365420866849ed0c5cb54ebae5ca96bd5bd984.tar.bz2 |
Refactor: Add allowArch parameter to cmake::CreateGlobalGenerator()
Diffstat (limited to 'Source/cmGlobalGeneratorFactory.h')
-rw-r--r-- | Source/cmGlobalGeneratorFactory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGeneratorFactory.h b/Source/cmGlobalGeneratorFactory.h index 3a7f806..d6ababb 100644 --- a/Source/cmGlobalGeneratorFactory.h +++ b/Source/cmGlobalGeneratorFactory.h @@ -25,7 +25,7 @@ public: /** Create a GlobalGenerator */ virtual std::unique_ptr<cmGlobalGenerator> CreateGlobalGenerator( - const std::string& n, cmake* cm) const = 0; + const std::string& n, bool allowArch, cmake* cm) const = 0; /** Get the documentation entry for this factory */ virtual void GetDocumentation(cmDocumentationEntry& entry) const = 0; @@ -53,7 +53,7 @@ class cmGlobalGeneratorSimpleFactory : public cmGlobalGeneratorFactory public: /** Create a GlobalGenerator */ std::unique_ptr<cmGlobalGenerator> CreateGlobalGenerator( - const std::string& name, cmake* cm) const override + const std::string& name, bool /*allowArch*/, cmake* cm) const override { if (name != T::GetActualName()) { return std::unique_ptr<cmGlobalGenerator>(); |