https://github.com/Kitware/CMake
Revision dab05a1af2c494ef940b59ae3415e1c8019e0047 authored by Brad King on 15 July 2021, 14:54:28 UTC, committed by Kitware Robot on 15 July 2021, 14:54:40 UTC
2 parent s bf10664 + 7c6234d
Raw File
Tip revision: dab05a1af2c494ef940b59ae3415e1c8019e0047 authored by Brad King on 15 July 2021, 14:54:28 UTC
Merge branch 'release-3.21'
Tip revision: dab05a1
cmNinjaLinkLineDeviceComputer.h
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */

#pragma once

#include "cmConfigure.h" // IWYU pragma: keep

#include <string>

#include "cmLinkLineDeviceComputer.h"

class cmGlobalNinjaGenerator;
class cmOutputConverter;
class cmStateDirectory;

class cmNinjaLinkLineDeviceComputer : public cmLinkLineDeviceComputer
{
public:
  cmNinjaLinkLineDeviceComputer(cmOutputConverter* outputConverter,
                                cmStateDirectory const& stateDir,
                                cmGlobalNinjaGenerator const* gg);

  cmNinjaLinkLineDeviceComputer(cmNinjaLinkLineDeviceComputer const&) = delete;
  cmNinjaLinkLineDeviceComputer& operator=(
    cmNinjaLinkLineDeviceComputer const&) = delete;

  std::string ConvertToLinkReference(std::string const& input) const override;

private:
  cmGlobalNinjaGenerator const* GG;
};
back to top