Files
CMake/Source/cmFastbuildLinkLineComputer.cxx
Vito Gamberini f69754ad63 SYCL: Initial language implementation
Add experimental support for SYCL under an experimental gate. The
IntelLLVM and Adaptivecpp compilers are recognized, as well as upstream
Clang with libsycl support.

Fixes: #27219, #27905
2026-10-07 11:43:31 -04:00

39 lines
1.1 KiB
C++

/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
file LICENSE.rst or https://cmake.org/licensing for details. */
#include "cmFastbuildLinkLineComputer.h"
#include <utility>
#include "cmGlobalFastbuildGenerator.h"
class cmOutputConverter;
cmFastbuildLinkLineComputer::cmFastbuildLinkLineComputer(
cmOutputConverter* outputConverter, cmStateDirectory const& stateDir,
cmGlobalFastbuildGenerator const* gg)
: cmLinkLineComputer(outputConverter, stateDir)
, GG(gg)
{
}
std::string cmFastbuildLinkLineComputer::ConvertToLinkReference(
std::string const& lib) const
{
return this->GG->ConvertToFastbuildPath(lib);
}
cmFastbuildLinkLineDeviceComputer::cmFastbuildLinkLineDeviceComputer(
cmOutputConverter* outputConverter, cmStateDirectory const& stateDir,
cmGlobalFastbuildGenerator const* gg, std::string language)
: cmLinkLineDeviceComputer(outputConverter, stateDir, std::move(language))
, GG(gg)
{
}
std::string cmFastbuildLinkLineDeviceComputer::ConvertToLinkReference(
std::string const& lib) const
{
return this->GG->ConvertToFastbuildPath(lib);
}