summaryrefslogtreecommitdiffstats
path: root/Source/cmNinjaLinkLineDeviceComputer.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2019-05-17 15:29:43 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-20 15:05:16 (GMT)
commit3205c7c950d5b90d47ce1c5c58073e511339b78c (patch)
tree6ab0918cb04745d547e1c9dfcd0672f15cc15afe /Source/cmNinjaLinkLineDeviceComputer.h
parent66efdbd21a46b63572f5de677ed126a68e524e7a (diff)
downloadCMake-3205c7c950d5b90d47ce1c5c58073e511339b78c.zip
CMake-3205c7c950d5b90d47ce1c5c58073e511339b78c.tar.gz
CMake-3205c7c950d5b90d47ce1c5c58073e511339b78c.tar.bz2
cmNinjaLinkLineDeviceComputer now lives in the correct source file
Diffstat (limited to 'Source/cmNinjaLinkLineDeviceComputer.h')
-rw-r--r--Source/cmNinjaLinkLineDeviceComputer.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/Source/cmNinjaLinkLineDeviceComputer.h b/Source/cmNinjaLinkLineDeviceComputer.h
new file mode 100644
index 0000000..84ced5b
--- /dev/null
+++ b/Source/cmNinjaLinkLineDeviceComputer.h
@@ -0,0 +1,34 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+
+#ifndef cmNinjaLinkLineDeviceComputer_h
+#define cmNinjaLinkLineDeviceComputer_h
+
+#include "cmConfigure.h" // IWYU pragma: keep
+
+#include <string>
+
+#include "cmLinkLineDeviceComputer.h"
+
+class cmGlobalNinjaGenerator;
+class cmOutputConverter;
+class cmStateDirectory;
+
+class cmNinjaLinkLineDeviceComputer : public cmLinkLineDeviceComputer
+{
+public:
+ cmNinjaLinkLineDeviceComputer(cmOutputConverter* outputConverter,
+ cmStateDirectory const& stateDir,
+ cmGlobalNinjaGenerator const* gg);
+
+ cmNinjaLinkLineDeviceComputer(cmNinjaLinkLineDeviceComputer const&) = delete;
+ cmNinjaLinkLineDeviceComputer& operator=(
+ cmNinjaLinkLineDeviceComputer const&) = delete;
+
+ std::string ConvertToLinkReference(std::string const& input) const override;
+
+private:
+ cmGlobalNinjaGenerator const* GG;
+};
+
+#endif