| 20 | class cmake; |
| 21 | |
| 22 | class cmGlobalGhsMultiGenerator : public cmGlobalGenerator |
| 23 | { |
| 24 | public: |
| 25 | // The default filename extension of GHS MULTI's build files. |
| 26 | static char const* FILE_EXTENSION; |
| 27 | |
| 28 | cmGlobalGhsMultiGenerator(cmake* cm); |
| 29 | ~cmGlobalGhsMultiGenerator() override; |
| 30 | |
| 31 | static std::unique_ptr<cmGlobalGeneratorFactory> NewFactory() |
| 32 | { |
| 33 | return std::unique_ptr<cmGlobalGeneratorFactory>( |
| 34 | new cmGlobalGeneratorSimpleFactory<cmGlobalGhsMultiGenerator>()); |
| 35 | } |
| 36 | |
| 37 | //! create the correct local generator |
| 38 | std::unique_ptr<cmLocalGenerator> CreateLocalGenerator( |
| 39 | cmMakefile* mf) override; |
| 40 | |
| 41 | /// @return the name of this generator. |
| 42 | static std::string GetActualName() { return "Green Hills MULTI"; } |
| 43 | |
| 44 | //! Get the name for this generator |
| 45 | std::string GetName() const override { return GetActualName(); } |
| 46 | |
| 47 | /// Overloaded methods. @see cmGlobalGenerator::GetDocumentation() |
| 48 | static cmDocumentationEntry GetDocumentation(); |
| 49 | |
| 50 | /** |
| 51 | * Utilized by the generator factory to determine if this generator |
| 52 | * supports toolsets. |
| 53 | */ |
| 54 | static bool SupportsToolset() { return true; } |
| 55 | |
| 56 | /** |
| 57 | * Utilized by the generator factory to determine if this generator |
| 58 | * supports platforms. |
| 59 | */ |
| 60 | static bool SupportsPlatform() { return true; } |
| 61 | |
| 62 | // Toolset / Platform Support |
| 63 | bool SetGeneratorToolset(std::string const& ts, bool build, |
| 64 | cmMakefile* mf) override; |
| 65 | bool SetGeneratorPlatform(std::string const& p, cmMakefile* mf) override; |
| 66 | |
| 67 | /** |
| 68 | * Try to determine system information such as shared library |
| 69 | * extension, pthreads, byte order etc. |
| 70 | */ |
| 71 | void EnableLanguage(std::vector<std::string> const& languages, cmMakefile*, |
| 72 | bool optional) override; |
| 73 | /* |
| 74 | * Determine what program to use for building the project. |
| 75 | */ |
| 76 | bool FindMakeProgram(cmMakefile* mf) override; |
| 77 | |
| 78 | void ComputeTargetObjectDirectory(cmGeneratorTarget* gt) const override; |
| 79 |
nothing calls this directly
no test coverage detected
searching dependent graphs…