diff options
author | Brad King <brad.king@kitware.com> | 2023-01-16 16:49:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-16 22:16:12 (GMT) |
commit | d4bf7d80c618930e6b88c35d271a5b0a0656bb7b (patch) | |
tree | fb9e5883e8fef2d96a3d1168946a9ad527658014 /Tests/RunCMake/try_compile | |
parent | 9d9e8450a872a4a9ec1a74cc7a73df100c32c7e8 (diff) | |
download | CMake-d4bf7d80c618930e6b88c35d271a5b0a0656bb7b.zip CMake-d4bf7d80c618930e6b88c35d271a5b0a0656bb7b.tar.gz CMake-d4bf7d80c618930e6b88c35d271a5b0a0656bb7b.tar.bz2 |
try_compile: Add a NO_LOG option to skip recording in the configure log
Diffstat (limited to 'Tests/RunCMake/try_compile')
-rw-r--r-- | Tests/RunCMake/try_compile/ConfigureLog.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/try_compile/ConfigureLog.cmake b/Tests/RunCMake/try_compile/ConfigureLog.cmake index 4502d24..511ade9 100644 --- a/Tests/RunCMake/try_compile/ConfigureLog.cmake +++ b/Tests/RunCMake/try_compile/ConfigureLog.cmake @@ -7,5 +7,10 @@ try_compile(COMPILE_RESULT try_compile(COMPILE_RESULT SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureLog-test.c + NO_LOG + ) + +try_compile(COMPILE_RESULT + SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/ConfigureLog-test.c LOG_DESCRIPTION "Source that should compile." ) |