summaryrefslogtreecommitdiffstats
path: root/Source/cmExperimental.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2024-08-07 18:15:50 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2024-09-03 14:05:40 (GMT)
commite77655555cd17b5b2d4adf86eeb013e49de35cce (patch)
treed2c211b8fae8b767b683702b5ff78046d777998a /Source/cmExperimental.cxx
parent23cbeb5035910b65b758783d8750ecf99779ec5d (diff)
downloadCMake-e77655555cd17b5b2d4adf86eeb013e49de35cce.zip
CMake-e77655555cd17b5b2d4adf86eeb013e49de35cce.tar.gz
CMake-e77655555cd17b5b2d4adf86eeb013e49de35cce.tar.bz2
cmExperimental: gate build database support behind a flag
Given that the feature currently only supports C++ sources and is not formally accepted by ISO yet, gate it behind a flag.
Diffstat (limited to 'Source/cmExperimental.cxx')
-rw-r--r--Source/cmExperimental.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmExperimental.cxx b/Source/cmExperimental.cxx
index 4504c07..1bfd9b9 100644
--- a/Source/cmExperimental.cxx
+++ b/Source/cmExperimental.cxx
@@ -56,6 +56,15 @@ cmExperimental::FeatureData LookupTable[] = {
{},
cmExperimental::TryCompileCondition::Always,
false },
+ // ExportBuildDatabase
+ { "ExportBuildDatabase",
+ "4bd552e2-b7fb-429a-ab23-c83ef53f3f13",
+ "CMAKE_EXPERIMENTAL_EXPORT_BUILD_DATABASE",
+ "CMake's support for exporting build databases is experimental. It is "
+ "meant only for experimentation and feedback to CMake developers.",
+ {},
+ cmExperimental::TryCompileCondition::Never,
+ false },
};
static_assert(sizeof(LookupTable) / sizeof(LookupTable[0]) ==
static_cast<size_t>(cmExperimental::Feature::Sentinel),