Hi,

I have a strange case where the following thing fails in cmake-2.6:
 add_custom_command (
   OUTPUT         ${CMAKE_CURRENT_BINARY_DIR}/proj_marshal.c
   COMMAND   ${GLIB_GENMARSHAL_EXECUTABLE}
   ARGS              --prefix=proj_marshal proj_marshal.list --body
                           > ${CMAKE_CURRENT_BINARY_DIR}/proj_marshal.c
   MAIN_DEPENDENCY   ${CMAKE_CURRENT_SOURCE_DIR}/proj_marshal.list
   WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
   VERBATIM
 )

This actually _escapes the > and thus the redirection doesn't work. Removing the VERBATIM _makes_ it work.
This is opposite to the expected behaviour.


Did something change with respect to VERBATIM in CMake-2.6

Thanks

HS

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to