summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-11-27 15:42:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-11-27 15:42:45 (GMT)
commit19892abbc5c7cb32cab0f08bac3cccf1be0f8a30 (patch)
tree03bbb051444b92f9b319317f36182d64543f281b /Utilities/cmcurl
parenta72f4c0052444a67837d2ab0259e2618213053b4 (diff)
downloadCMake-19892abbc5c7cb32cab0f08bac3cccf1be0f8a30.zip
CMake-19892abbc5c7cb32cab0f08bac3cccf1be0f8a30.tar.gz
CMake-19892abbc5c7cb32cab0f08bac3cccf1be0f8a30.tar.bz2
ENH: save logs of passed try compile stuff as well
Diffstat (limited to 'Utilities/cmcurl')
-rw-r--r--Utilities/cmcurl/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmcurl/CMakeLists.txt b/Utilities/cmcurl/CMakeLists.txt
index c32504f..52717cc 100644
--- a/Utilities/cmcurl/CMakeLists.txt
+++ b/Utilities/cmcurl/CMakeLists.txt
@@ -385,6 +385,9 @@ MACRO(CURL_INTERNAL_TEST CURL_TEST)
IF(${CURL_TEST})
SET(${CURL_TEST} 1 CACHE INTERNAL "Curl test ${FUNCTION}")
MESSAGE(STATUS "Performing Curl Test ${CURL_TEST} - Success")
+ FILE(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeOutput.log
+ "Performing Curl Test ${CURL_TEST} passed with the following output:\n"
+ "${OUTPUT}\n")
ELSE(${CURL_TEST})
MESSAGE(STATUS "Performing Curl Test ${CURL_TEST} - Failed")
SET(${CURL_TEST} "" CACHE INTERNAL "Curl test ${FUNCTION}")