[Cmake-commits] [cmake-commits] king committed CMakeLists.txt 1.12 1.13

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Oct 22 09:36:01 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/BuildDepends
In directory public:/mounts/ram/cvs-serv6621/Tests/BuildDepends

Modified Files:
	CMakeLists.txt 
Log Message:
More verbose BuildDepends test output

We teach BuildDepends to always print the output from each try_compile.
This may make debugging easier.


Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/BuildDepends/CMakeLists.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -C 2 -d -r1.12 -r1.13
*** CMakeLists.txt	14 May 2008 15:55:12 -0000	1.12
--- CMakeLists.txt	22 Oct 2009 13:35:58 -0000	1.13
***************
*** 64,69 ****
  endif(HELP_XCODE)
  
  if(NOT RESULT)
!   message(SEND_ERROR "Could not build test project: ${OUTPUT}")
  endif(NOT RESULT)
  
--- 64,70 ----
  endif(HELP_XCODE)
  
+ message("Output from first build:\n${OUTPUT}")
  if(NOT RESULT)
!   message(SEND_ERROR "Could not build test project (1)!")
  endif(NOT RESULT)
  
***************
*** 147,152 ****
  endif(HELP_XCODE)
  
  if(NOT RESULT)
!   message(SEND_ERROR "Could not build test project: ${OUTPUT}")
  endif(NOT RESULT)
  if(EXISTS 
--- 148,154 ----
  endif(HELP_XCODE)
  
+ message("Output from second build:\n${OUTPUT}")
  if(NOT RESULT)
!   message(SEND_ERROR "Could not build test project (2)!")
  endif(NOT RESULT)
  if(EXISTS 



More information about the Cmake-commits mailing list