/src/CMake/Source/cmFastbuildLinkLineComputer.cxx
Line | Count | Source |
1 | | /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying |
2 | | file LICENSE.rst or https://cmake.org/licensing for details. */ |
3 | | |
4 | | #include "cmFastbuildLinkLineComputer.h" |
5 | | |
6 | | #include <utility> |
7 | | |
8 | | #include "cmGlobalFastbuildGenerator.h" |
9 | | |
10 | | class cmOutputConverter; |
11 | | |
12 | | cmFastbuildLinkLineComputer::cmFastbuildLinkLineComputer( |
13 | | cmOutputConverter* outputConverter, cmStateDirectory const& stateDir, |
14 | | cmGlobalFastbuildGenerator const* gg) |
15 | 0 | : cmLinkLineComputer(outputConverter, stateDir) |
16 | 0 | , GG(gg) |
17 | 0 | { |
18 | 0 | } |
19 | | |
20 | | std::string cmFastbuildLinkLineComputer::ConvertToLinkReference( |
21 | | std::string const& lib) const |
22 | 0 | { |
23 | 0 | return this->GG->ConvertToFastbuildPath(lib); |
24 | 0 | } |
25 | | |
26 | | cmFastbuildLinkLineDeviceComputer::cmFastbuildLinkLineDeviceComputer( |
27 | | cmOutputConverter* outputConverter, cmStateDirectory const& stateDir, |
28 | | cmGlobalFastbuildGenerator const* gg, std::string language) |
29 | 0 | : cmLinkLineDeviceComputer(outputConverter, stateDir, std::move(language)) |
30 | 0 | , GG(gg) |
31 | 0 | { |
32 | 0 | } |
33 | | |
34 | | std::string cmFastbuildLinkLineDeviceComputer::ConvertToLinkReference( |
35 | | std::string const& lib) const |
36 | 0 | { |
37 | 0 | return this->GG->ConvertToFastbuildPath(lib); |
38 | 0 | } |