\class cmGlobalWatcomWMakeGenerator * \brief Write a NMake makefiles. * * cmGlobalWatcomWMakeGenerator manages nmake build process for a tree */
| 21 | * cmGlobalWatcomWMakeGenerator manages nmake build process for a tree |
| 22 | */ |
| 23 | class cmGlobalWatcomWMakeGenerator : public cmGlobalUnixMakefileGenerator3 |
| 24 | { |
| 25 | public: |
| 26 | cmGlobalWatcomWMakeGenerator(cmake* cm); |
| 27 | static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory() |
| 28 | { |
| 29 | return std::unique_ptr<cmGlobalGeneratorFactory>( |
| 30 | new cmGlobalGeneratorSimpleFactory<cmGlobalWatcomWMakeGenerator>()); |
| 31 | } |
| 32 | //! Get the name for the generator. |
| 33 | std::string GetName() const override |
| 34 | { |
| 35 | return cmGlobalWatcomWMakeGenerator::GetActualName(); |
| 36 | } |
| 37 | static std::string GetActualName() { return "Watcom WMake"; } |
| 38 | |
| 39 | /** Get the documentation entry for this generator. */ |
| 40 | static cmDocumentationEntry GetDocumentation(); |
| 41 | |
| 42 | /** Tell the generator about the target system. */ |
| 43 | bool SetSystemName(std::string const& s, cmMakefile* mf) override; |
| 44 | |
| 45 | /** |
| 46 | * Try to determine system information such as shared library |
| 47 | * extension, pthreads, byte order etc. |
| 48 | */ |
| 49 | void EnableLanguage(std::vector<std::string> const& languages, cmMakefile*, |
| 50 | bool optional) override; |
| 51 | |
| 52 | bool AllowNotParallel() const override { return false; } |
| 53 | bool AllowDeleteOnError() const override { return false; } |
| 54 | |
| 55 | bool IsGNUMakeJobServerAware() const override { return false; } |
| 56 | |
| 57 | std::string GetShortBinaryOutputDir() const override; |
| 58 | |
| 59 | protected: |
| 60 | std::vector<GeneratedMakeCommand> GenerateBuildCommand( |
| 61 | std::string const& makeProgram, std::string const& projectName, |
| 62 | std::string const& projectDir, std::vector<std::string> const& targetNames, |
| 63 | std::string const& config, int jobs, bool verbose, |
| 64 | cmBuildOptions buildOptions = cmBuildOptions(), |
| 65 | std::vector<std::string> const& makeOptions = std::vector<std::string>(), |
| 66 | BuildTryCompile isInTryCompile = BuildTryCompile::No) override; |
| 67 | |
| 68 | void PrintBuildCommandAdvice(std::ostream& os, int jobs) const override; |
| 69 | }; |
nothing calls this directly
no test coverage detected
searching dependent graphs…