https://github.com/Kitware/CMake
Revision 579ada3043b3fd9df2d30538f0491e6f947b78a5 authored by Brad King on 20 August 2020, 11:55:16 UTC, committed by Kitware Robot on 20 August 2020, 11:55:23 UTC
2 parent s e029cb1 + 4fc1dd2
Raw File
Tip revision: 579ada3043b3fd9df2d30538f0491e6f947b78a5 authored by Brad King on 20 August 2020, 11:55:16 UTC
Merge branch 'release-3.18'
Tip revision: 579ada3
cmNinjaLinkLineDeviceComputer.cxx
/* Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
   file Copyright.txt or https://cmake.org/licensing for details.  */

#include "cmNinjaLinkLineDeviceComputer.h"

#include "cmGlobalNinjaGenerator.h"

cmNinjaLinkLineDeviceComputer::cmNinjaLinkLineDeviceComputer(
  cmOutputConverter* outputConverter, cmStateDirectory const& stateDir,
  cmGlobalNinjaGenerator const* gg)
  : cmLinkLineDeviceComputer(outputConverter, stateDir)
  , GG(gg)
{
}

std::string cmNinjaLinkLineDeviceComputer::ConvertToLinkReference(
  std::string const& lib) const
{
  return GG->ConvertToNinjaPath(lib);
}
back to top