diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2019-05-17 15:29:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-05-20 15:05:16 (GMT) |
commit | 3205c7c950d5b90d47ce1c5c58073e511339b78c (patch) | |
tree | 6ab0918cb04745d547e1c9dfcd0672f15cc15afe /Source/cmNinjaLinkLineDeviceComputer.cxx | |
parent | 66efdbd21a46b63572f5de677ed126a68e524e7a (diff) | |
download | CMake-3205c7c950d5b90d47ce1c5c58073e511339b78c.zip CMake-3205c7c950d5b90d47ce1c5c58073e511339b78c.tar.gz CMake-3205c7c950d5b90d47ce1c5c58073e511339b78c.tar.bz2 |
cmNinjaLinkLineDeviceComputer now lives in the correct source file
Diffstat (limited to 'Source/cmNinjaLinkLineDeviceComputer.cxx')
-rw-r--r-- | Source/cmNinjaLinkLineDeviceComputer.cxx | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Source/cmNinjaLinkLineDeviceComputer.cxx b/Source/cmNinjaLinkLineDeviceComputer.cxx new file mode 100644 index 0000000..84c1b37 --- /dev/null +++ b/Source/cmNinjaLinkLineDeviceComputer.cxx @@ -0,0 +1,20 @@ +/* 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); +} |