diff options
Diffstat (limited to 'Source/cmGlobalWatcomWMakeGenerator.h')
-rw-r--r-- | Source/cmGlobalWatcomWMakeGenerator.h | 29 |
1 files changed, 20 insertions, 9 deletions
diff --git a/Source/cmGlobalWatcomWMakeGenerator.h b/Source/cmGlobalWatcomWMakeGenerator.h index b2d6d5d71..64ace1359 100644 --- a/Source/cmGlobalWatcomWMakeGenerator.h +++ b/Source/cmGlobalWatcomWMakeGenerator.h @@ -3,14 +3,15 @@ #ifndef cmGlobalWatcomWMakeGenerator_h #define cmGlobalWatcomWMakeGenerator_h -#include "cmConfigure.h" - -#include "cmGlobalGeneratorFactory.h" -#include "cmGlobalUnixMakefileGenerator3.h" +#include "cmConfigure.h" // IWYU pragma: keep +#include <iosfwd> #include <string> #include <vector> +#include "cmGlobalGeneratorFactory.h" +#include "cmGlobalUnixMakefileGenerator3.h" + class cmMakefile; class cmake; struct cmDocumentationEntry; @@ -28,8 +29,8 @@ public: { return new cmGlobalGeneratorSimpleFactory<cmGlobalWatcomWMakeGenerator>(); } - ///! Get the name for the generator. - std::string GetName() const CM_OVERRIDE + //! Get the name for the generator. + std::string GetName() const override { return cmGlobalWatcomWMakeGenerator::GetActualName(); } @@ -43,10 +44,20 @@ public: * extension, pthreads, byte order etc. */ void EnableLanguage(std::vector<std::string> const& languages, cmMakefile*, - bool optional) CM_OVERRIDE; + bool optional) override; + + bool AllowNotParallel() const override { return false; } + bool AllowDeleteOnError() const override { return false; } + +protected: + std::vector<GeneratedMakeCommand> GenerateBuildCommand( + const std::string& makeProgram, const std::string& projectName, + const std::string& projectDir, std::vector<std::string> const& targetNames, + const std::string& config, bool fast, int jobs, bool verbose, + std::vector<std::string> const& makeOptions = + std::vector<std::string>()) override; - bool AllowNotParallel() const CM_OVERRIDE { return false; } - bool AllowDeleteOnError() const CM_OVERRIDE { return false; } + void PrintBuildCommandAdvice(std::ostream& os, int jobs) const override; }; #endif |