BUG: add debugging into to check out a problem

This commit is contained in:
Ken Martin 2008-03-25 14:15:20 -04:00
parent ce8810c4e7
commit f0486827d5
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ ENDIF(EXTERNAL_OBJECT)
# Test creation of external objects by custom commands. # Test creation of external objects by custom commands.
SET(CUSTOM_OBJECT SET(CUSTOM_OBJECT
${CMAKE_CURRENT_BINARY_DIR}/custom_object${CMAKE_C_OUTPUT_EXTENSION}) ${CMAKE_CURRENT_BINARY_DIR}/custom_object${CMAKE_C_OUTPUT_EXTENSION})
MESSAGE("Debugging info: "
"${CMAKE_COMMAND} -E copy ${EXTERNAL_OBJECT} ${CUSTOM_OBJECT}")
ADD_CUSTOM_COMMAND( ADD_CUSTOM_COMMAND(
OUTPUT ${CUSTOM_OBJECT} OUTPUT ${CUSTOM_OBJECT}
COMMAND ${CMAKE_COMMAND} -E copy ${EXTERNAL_OBJECT} ${CUSTOM_OBJECT} COMMAND ${CMAKE_COMMAND} -E copy ${EXTERNAL_OBJECT} ${CUSTOM_OBJECT}