mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:46:17 +00:00
[CMAKE]
- try to fix gcc build without breaking msvc svn path=/trunk/; revision=53508
This commit is contained in:
parent
6f2e9c5d9e
commit
68c23bec13
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
if(MSVC)
|
||||
set(IDL_COMPILER midl)
|
||||
set(IDL_HEADER_ARG /h) #.h
|
||||
set(IDL_HEADER_ARG2 /header) #.h
|
||||
set(IDL_HEADER_ARG2 /h) #.h
|
||||
set(IDL_TYPELIB_ARG /tlb) #.tlb
|
||||
set(IDL_SERVER_ARG /sstub) #.c for stub server library
|
||||
set(IDL_CLIENT_ARG /cstub) #.c for stub client library
|
||||
|
@ -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_ARG} ${CMAKE_CURRENT_BINARY_DIR}/${__name}.h ${__server_client} ${CMAKE_CURRENT_BINARY_DIR}/${__name}.c ${FILE}
|
||||
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}
|
||||
DEPENDS ${FILE} ${IDL_DEPENDS})
|
||||
endforeach()
|
||||
endfunction()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue