summaryrefslogtreecommitdiffstats
path: root/Source/cmExperimental.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-19 20:42:37 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-31 15:37:47 (GMT)
commitaad9033b5640b62ab47c0be926b8e05d66b735c0 (patch)
tree8e3052bf554c07f6dfd5445d4eeec76f26755fa9 /Source/cmExperimental.h
parentf6cf4332562adcacf590d9939d6ab591f049cf59 (diff)
downloadCMake-aad9033b5640b62ab47c0be926b8e05d66b735c0.zip
CMake-aad9033b5640b62ab47c0be926b8e05d66b735c0.tar.gz
CMake-aad9033b5640b62ab47c0be926b8e05d66b735c0.tar.bz2
cmExperimental: support forwarding associated variables to `try_compile`
Other variables may be needed to make experimental features actually work. List them with the experimental flag.
Diffstat (limited to 'Source/cmExperimental.h')
-rw-r--r--Source/cmExperimental.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmExperimental.h b/Source/cmExperimental.h
index 0768146..c958ab6 100644
--- a/Source/cmExperimental.h
+++ b/Source/cmExperimental.h
@@ -6,6 +6,7 @@
#include "cmConfigure.h" // IWYU pragma: keep
#include <string>
+#include <vector>
class cmMakefile;
@@ -33,6 +34,7 @@ public:
std::string const Uuid;
std::string const Variable;
std::string const Description;
+ std::vector<std::string> const TryCompileVariables;
TryCompileCondition const ForwardThroughTryCompile;
bool Warned;
};