summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/try_compile/Verbose.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-18 22:01:21 (GMT)
committerBrad King <brad.king@kitware.com>2023-01-20 14:17:51 (GMT)
commitfaa950a155b1654e42c193c2016cdc69e9bb9c85 (patch)
tree7006dd9a23eb3892153bdf5d712b874294dd4185 /Tests/RunCMake/try_compile/Verbose.c
parent5031934fb05181eb925b81f6747feaa8ffa27787 (diff)
downloadCMake-faa950a155b1654e42c193c2016cdc69e9bb9c85.zip
CMake-faa950a155b1654e42c193c2016cdc69e9bb9c85.tar.gz
CMake-faa950a155b1654e42c193c2016cdc69e9bb9c85.tar.bz2
try_compile: Run native build tool with verbose output
Make the compiler command lines visible in the configure log. Issue: #23200
Diffstat (limited to 'Tests/RunCMake/try_compile/Verbose.c')
-rw-r--r--Tests/RunCMake/try_compile/Verbose.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/Verbose.c b/Tests/RunCMake/try_compile/Verbose.c
new file mode 100644
index 0000000..5953879
--- /dev/null
+++ b/Tests/RunCMake/try_compile/Verbose.c
@@ -0,0 +1,7 @@
+#ifndef EXAMPLE_DEFINITION
+# error "EXAMPLE_DEFINITION not defined."
+#endif
+int main(void)
+{
+ return 0;
+}