mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 21:37:11 +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
47 lines
1.4 KiB
C++
47 lines
1.4 KiB
C++
/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
file LICENSE.rst or https://cmake.org/licensing for details. */
|
|
|
|
#pragma once
|
|
|
|
#include "cmConfigure.h" // IWYU pragma: keep
|
|
|
|
#include <string>
|
|
|
|
#include "cmLinkLineComputer.h"
|
|
#include "cmLinkLineDeviceComputer.h"
|
|
|
|
class cmGlobalFastbuildGenerator;
|
|
class cmOutputConverter;
|
|
class cmStateDirectory;
|
|
|
|
class cmFastbuildLinkLineComputer : public cmLinkLineComputer
|
|
{
|
|
public:
|
|
cmFastbuildLinkLineComputer(cmOutputConverter* outputConverter,
|
|
cmStateDirectory const& stateDir,
|
|
cmGlobalFastbuildGenerator const* gg);
|
|
|
|
cmFastbuildLinkLineComputer(cmFastbuildLinkLineComputer const&) = delete;
|
|
cmFastbuildLinkLineComputer& operator=(cmFastbuildLinkLineComputer const&) =
|
|
delete;
|
|
|
|
std::string ConvertToLinkReference(std::string const& input) const override;
|
|
|
|
private:
|
|
cmGlobalFastbuildGenerator const* GG;
|
|
};
|
|
|
|
class cmFastbuildLinkLineDeviceComputer : public cmLinkLineDeviceComputer
|
|
{
|
|
public:
|
|
cmFastbuildLinkLineDeviceComputer(cmOutputConverter* outputConverter,
|
|
cmStateDirectory const& stateDir,
|
|
cmGlobalFastbuildGenerator const* gg,
|
|
std::string language);
|
|
|
|
std::string ConvertToLinkReference(std::string const& input) const override;
|
|
|
|
private:
|
|
cmGlobalFastbuildGenerator const* GG;
|
|
};
|