mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
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
39 lines
1.1 KiB
C++
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);
|
|
}
|