summaryrefslogtreecommitdiffstats
path: root/Source/cmExportCommand.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-09-21 20:03:08 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-10-02 14:17:31 (GMT)
commit0c07f390068fe5a9c3c99ebc64f6e6c72b6eff41 (patch)
tree89a4e61adfbb81b0194602a09f0052398d6100a0 /Source/cmExportCommand.cxx
parent68caec9137f47fda219995db7cfdf588886c84a1 (diff)
downloadCMake-0c07f390068fe5a9c3c99ebc64f6e6c72b6eff41.zip
CMake-0c07f390068fe5a9c3c99ebc64f6e6c72b6eff41.tar.gz
CMake-0c07f390068fe5a9c3c99ebc64f6e6c72b6eff41.tar.bz2
cmExperimental: remove the flag for C++ modules
All the major compilers now have scheduled releases with support for scanning, so remove the experimental gate. Fixes: #18355
Diffstat (limited to 'Source/cmExportCommand.cxx')
-rw-r--r--Source/cmExportCommand.cxx15
1 files changed, 5 insertions, 10 deletions
diff --git a/Source/cmExportCommand.cxx b/Source/cmExportCommand.cxx
index 273296d..e78b869 100644
--- a/Source/cmExportCommand.cxx
+++ b/Source/cmExportCommand.cxx
@@ -16,7 +16,6 @@
#include "cmArgumentParserTypes.h"
#include "cmCryptoHash.h"
#include "cmExecutionStatus.h"
-#include "cmExperimental.h"
#include "cmExportBuildAndroidMKGenerator.h"
#include "cmExportBuildFileGenerator.h"
#include "cmExportSet.h"
@@ -69,15 +68,11 @@ bool cmExportCommand(std::vector<std::string> const& args,
bool ExportOld = false;
};
- auto parser = cmArgumentParser<Arguments>{}
- .Bind("NAMESPACE"_s, &Arguments::Namespace)
- .Bind("FILE"_s, &Arguments::Filename);
-
- bool const supportCxx20FileSetTypes = cmExperimental::HasSupportEnabled(
- status.GetMakefile(), cmExperimental::Feature::CxxModuleCMakeApi);
- if (supportCxx20FileSetTypes) {
- parser.Bind("CXX_MODULES_DIRECTORY"_s, &Arguments::CxxModulesDirectory);
- }
+ auto parser =
+ cmArgumentParser<Arguments>{}
+ .Bind("NAMESPACE"_s, &Arguments::Namespace)
+ .Bind("FILE"_s, &Arguments::Filename)
+ .Bind("CXX_MODULES_DIRECTORY"_s, &Arguments::CxxModulesDirectory);
if (args[0] == "EXPORT") {
parser.Bind("EXPORT"_s, &Arguments::ExportSetName);