cmake/Source/cmLocalGhsMultiGenerator.h

40 lines
1006 B
C
Raw Normal View History

2016-10-30 18:24:19 +01:00
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file Copyright.txt or https://cmake.org/licensing for details. */
2021-09-14 00:13:48 +02:00
#pragma once
2015-08-17 11:37:30 +02:00
2019-11-11 23:01:05 +01:00
#include <map>
#include <string>
2020-02-01 23:06:01 +01:00
#include "cmLocalGenerator.h"
2019-11-11 23:01:05 +01:00
class cmGeneratorTarget;
class cmGlobalGenerator;
class cmMakefile;
class cmSourceFile;
2015-08-17 11:37:30 +02:00
/** \class cmLocalGhsMultiGenerator
* \brief Write Green Hills MULTI project files.
*
* cmLocalGhsMultiGenerator produces a set of .gpj
* file for each target in its mirrored directory.
*/
class cmLocalGhsMultiGenerator : public cmLocalGenerator
{
public:
2015-11-17 17:22:37 +01:00
cmLocalGhsMultiGenerator(cmGlobalGenerator* gg, cmMakefile* mf);
2015-08-17 11:37:30 +02:00
2019-11-11 23:01:05 +01:00
~cmLocalGhsMultiGenerator() override;
2015-08-17 11:37:30 +02:00
/**
* Generate the makefile for this directory.
*/
2019-11-11 23:01:05 +01:00
void Generate() override;
std::string GetTargetDirectory(
cmGeneratorTarget const* target) const override;
void ComputeObjectFilenames(
std::map<cmSourceFile const*, std::string>& mapping,
cmGeneratorTarget const* gt = nullptr) override;
2015-08-17 11:37:30 +02:00
};