[Cmake-commits] [cmake-commits] king committed ImplicitLinkInfoTest.cmake.in 1.6 1.7

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Oct 6 15:16:15 EDT 2009


Update of /cvsroot/CMake/CMake/Tests/CMakeTests
In directory public:/mounts/ram/cvs-serv12412/Tests/CMakeTests

Modified Files:
	ImplicitLinkInfoTest.cmake.in 
Log Message:
Log implicit link information parsing actions

This commit teaches the CMAKE_PARSE_IMPLICIT_LINK_INFO function to log
its actions.  We store the log in CMakeFiles/CMakeOutput.log at the top
of the project build tree.  This will make diagnosis of implicit link
information parsing problems easier.


Index: ImplicitLinkInfoTest.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** ImplicitLinkInfoTest.cmake.in	29 Jul 2009 20:38:12 -0000	1.6
--- ImplicitLinkInfoTest.cmake.in	6 Oct 2009 19:16:12 -0000	1.7
***************
*** 340,344 ****
  
  foreach(p IN LISTS platforms)
!   cmake_parse_implicit_link_info("${${p}_text}" libs dirs)
  
    foreach(v libs dirs)
--- 340,344 ----
  
  foreach(p IN LISTS platforms)
!   cmake_parse_implicit_link_info("${${p}_text}" libs dirs log)
  
    foreach(v libs dirs)
***************
*** 350,353 ****
--- 350,355 ----
          "but got\n"
          "  [${${v}}]\n"
+         "Parse log was:\n"
+         "${log}"
          )
      endif()



More information about the Cmake-commits mailing list