diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2024-08-07 18:15:50 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2024-09-03 14:05:40 (GMT) |
commit | e77655555cd17b5b2d4adf86eeb013e49de35cce (patch) | |
tree | d2c211b8fae8b767b683702b5ff78046d777998a /Source/cmExperimental.cxx | |
parent | 23cbeb5035910b65b758783d8750ecf99779ec5d (diff) | |
download | CMake-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.cxx | 9 |
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), |