| 57 | */ |
| 58 | |
| 59 | class cmGlobalUnixMakefileGenerator3 : public cmGlobalCommonGenerator |
| 60 | { |
| 61 | public: |
| 62 | cmGlobalUnixMakefileGenerator3(cmake* cm); |
| 63 | static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory() |
| 64 | { |
| 65 | return std::unique_ptr<cmGlobalGeneratorFactory>( |
| 66 | new cmGlobalGeneratorSimpleFactory<cmGlobalUnixMakefileGenerator3>()); |
| 67 | } |
| 68 | |
| 69 | ~cmGlobalUnixMakefileGenerator3() override; |
| 70 | |
| 71 | cmGlobalUnixMakefileGenerator3(cmGlobalUnixMakefileGenerator3 const&) = |
| 72 | delete; |
| 73 | cmGlobalUnixMakefileGenerator3& operator=( |
| 74 | cmGlobalUnixMakefileGenerator3 const&) = delete; |
| 75 | |
| 76 | //! Get the name for the generator. |
| 77 | std::string GetName() const override |
| 78 | { |
| 79 | return cmGlobalUnixMakefileGenerator3::GetActualName(); |
| 80 | } |
| 81 | static std::string GetActualName() { return "Unix Makefiles"; } |
| 82 | |
| 83 | /** |
| 84 | * Utilized by the generator factory to determine if this generator |
| 85 | * supports toolsets. |
| 86 | */ |
| 87 | static bool SupportsToolset() { return false; } |
| 88 | |
| 89 | /** |
| 90 | * Utilized by the generator factory to determine if this generator |
| 91 | * supports platforms. |
| 92 | */ |
| 93 | static bool SupportsPlatform() { return false; } |
| 94 | |
| 95 | /** |
| 96 | * Utilized to determine if this generator |
| 97 | * supports DEPFILE option. |
| 98 | */ |
| 99 | bool SupportsCustomCommandDepfile() const override { return true; } |
| 100 | |
| 101 | /** |
| 102 | * Utilized to determine if this generator |
| 103 | * supports linker dependency file. |
| 104 | */ |
| 105 | bool SupportsLinkerDependencyFile() const override { return true; } |
| 106 | |
| 107 | /** Get the documentation entry for this generator. */ |
| 108 | static cmDocumentationEntry GetDocumentation(); |
| 109 | |
| 110 | std::unique_ptr<cmLocalGenerator> CreateLocalGenerator( |
| 111 | cmMakefile* mf) override; |
| 112 | |
| 113 | /** |
| 114 | * Try to determine system information such as shared library |
| 115 | * extension, pthreads, byte order etc. |
| 116 | */ |
nothing calls this directly
no test coverage detected
searching dependent graphs…