1 /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
2 file Copyright.txt or https://cmake.org/licensing for details. */
8 #include "cmLocalGenerator.h"
10 class cmGeneratorTarget
;
11 class cmGlobalGenerator
;
15 /** \class cmLocalGhsMultiGenerator
16 * \brief Write Green Hills MULTI project files.
18 * cmLocalGhsMultiGenerator produces a set of .gpj
19 * file for each target in its mirrored directory.
21 class cmLocalGhsMultiGenerator
: public cmLocalGenerator
24 cmLocalGhsMultiGenerator(cmGlobalGenerator
* gg
, cmMakefile
* mf
);
26 ~cmLocalGhsMultiGenerator() override
;
29 * Generate the makefile for this directory.
31 void Generate() override
;
33 std::string
GetTargetDirectory(
34 cmGeneratorTarget
const* target
) const override
;
36 void ComputeObjectFilenames(
37 std::map
<cmSourceFile
const*, std::string
>& mapping
,
38 cmGeneratorTarget
const* gt
= nullptr) override
;