[CMAKE/MSVC]

- use /h to specify header file name when producing rpc proxy file.
Don't ask me why /header doesn't work, I have no idea.

svn path=/trunk/; revision=53504
This commit is contained in:
Jérôme Gardou 2011-08-30 21:01:16 +00:00
parent 0248645f79
commit dba0fbb3a2

View file

@ -140,7 +140,7 @@ function(add_rpc_files __type)
endif()
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${__name}.c ${CMAKE_CURRENT_BINARY_DIR}/${__name}.h
COMMAND ${IDL_COMPILER} ${INCLUDES} ${DEFINES} ${IDL_FLAGS} ${IDL_HEADER_ARG2} ${CMAKE_CURRENT_BINARY_DIR}/${__name}.h ${__server_client} ${CMAKE_CURRENT_BINARY_DIR}/${__name}.c ${FILE}
COMMAND ${IDL_COMPILER} ${INCLUDES} ${DEFINES} ${IDL_FLAGS} ${IDL_HEADER_ARG} ${CMAKE_CURRENT_BINARY_DIR}/${__name}.h ${__server_client} ${CMAKE_CURRENT_BINARY_DIR}/${__name}.c ${FILE}
DEPENDS ${FILE} ${IDL_DEPENDS})
endforeach()
endfunction()