2017-04-14 19:02:05 +02:00
|
|
|
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
|
|
file Copyright.txt or https://cmake.org/licensing for details. */
|
|
|
|
|
|
|
|
#ifndef cmNinjaLinkLineComputer_h
|
|
|
|
#define cmNinjaLinkLineComputer_h
|
|
|
|
|
2018-01-26 17:06:56 +01:00
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
2017-04-14 19:02:05 +02:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "cmLinkLineComputer.h"
|
|
|
|
|
|
|
|
class cmGlobalNinjaGenerator;
|
|
|
|
class cmOutputConverter;
|
|
|
|
class cmStateDirectory;
|
|
|
|
|
|
|
|
class cmNinjaLinkLineComputer : public cmLinkLineComputer
|
|
|
|
{
|
2017-07-20 19:35:53 +02:00
|
|
|
CM_DISABLE_COPY(cmNinjaLinkLineComputer)
|
|
|
|
|
2017-04-14 19:02:05 +02:00
|
|
|
public:
|
|
|
|
cmNinjaLinkLineComputer(cmOutputConverter* outputConverter,
|
2017-07-20 19:35:53 +02:00
|
|
|
cmStateDirectory const& stateDir,
|
2017-04-14 19:02:05 +02:00
|
|
|
cmGlobalNinjaGenerator const* gg);
|
|
|
|
|
2018-01-26 17:06:56 +01:00
|
|
|
std::string ConvertToLinkReference(std::string const& input) const override;
|
2017-04-14 19:02:05 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
cmGlobalNinjaGenerator const* GG;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|