summaryrefslogtreecommitdiffstats
path: root/Source/cmFileAPIToolchains.h
diff options
context:
space:
mode:
authorBen McMorran <bemcmorr@microsoft.com>2021-01-08 00:47:23 (GMT)
committerBen McMorran <bemcmorr@microsoft.com>2021-01-12 19:21:19 (GMT)
commitbb069c08571b5dab3488342b03cc4e5705b3a0e2 (patch)
tree2d96108425b3616681d2ba09d32f58f42339e9d3 /Source/cmFileAPIToolchains.h
parent1c9b61c23edb8200400ac77585f94ccd9fe0e58f (diff)
downloadCMake-bb069c08571b5dab3488342b03cc4e5705b3a0e2.zip
CMake-bb069c08571b5dab3488342b03cc4e5705b3a0e2.tar.gz
CMake-bb069c08571b5dab3488342b03cc4e5705b3a0e2.tar.bz2
cmFileAPI: Add "toolchains" object kind.
Fixes #19514
Diffstat (limited to 'Source/cmFileAPIToolchains.h')
-rw-r--r--Source/cmFileAPIToolchains.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmFileAPIToolchains.h b/Source/cmFileAPIToolchains.h
new file mode 100644
index 0000000..c188807
--- /dev/null
+++ b/Source/cmFileAPIToolchains.h
@@ -0,0 +1,12 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#pragma once
+
+#include "cmConfigure.h" // IWYU pragma: keep
+
+#include <cm3p/json/value.h>
+
+class cmFileAPI;
+
+extern Json::Value cmFileAPIToolchainsDump(cmFileAPI& fileAPI,
+ unsigned long version);