summaryrefslogtreecommitdiffstats
path: root/Source/cmCoreTryCompile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-30 21:09:56 (GMT)
committerBrad King <brad.king@kitware.com>2023-02-01 14:32:42 (GMT)
commit5252c885693ce35467f6c4c7fdc8deb6406df149 (patch)
tree35704c91a461029b32411307789d096df0a52a10 /Source/cmCoreTryCompile.h
parent0a48d8fe5ccf8a44bcada7b528f4cf4dd591b18e (diff)
downloadCMake-5252c885693ce35467f6c4c7fdc8deb6406df149.zip
CMake-5252c885693ce35467f6c4c7fdc8deb6406df149.tar.gz
CMake-5252c885693ce35467f6c4c7fdc8deb6406df149.tar.bz2
try_compile: Record propagated CMake variables in configure log
These provide more detailed information about how the test project was configured. Issue: #23200
Diffstat (limited to 'Source/cmCoreTryCompile.h')
-rw-r--r--Source/cmCoreTryCompile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmCoreTryCompile.h b/Source/cmCoreTryCompile.h
index 1ec4405..ba38c19 100644
--- a/Source/cmCoreTryCompile.h
+++ b/Source/cmCoreTryCompile.h
@@ -22,6 +22,7 @@ class cmRange;
struct cmTryCompileResult
{
cm::optional<std::string> LogDescription;
+ std::map<std::string, std::string> CMakeVariables;
std::string SourceDirectory;
std::string BinaryDirectory;