mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[CMAKE/RPC]
- Disable -Oif flags for generating client/server stubs with widl, except for advapi32 which needs it See CORE-8200 for details svn path=/trunk/; revision=63588
This commit is contained in:
parent
12fae91ffc
commit
afd824501a
5 changed files with 14 additions and 2 deletions
|
@ -3,6 +3,9 @@ include_directories(
|
|||
${REACTOS_SOURCE_DIR}/include/reactos/idl
|
||||
${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
# FIXME: See CORE-8200
|
||||
set(IDL_FLAGS ${IDL_FLAGS} -Oif)
|
||||
|
||||
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/eventlogrpc.idl)
|
||||
|
||||
list(APPEND SOURCE
|
||||
|
|
|
@ -4,6 +4,9 @@ include_directories(
|
|||
${REACTOS_SOURCE_DIR}/include/reactos/idl
|
||||
${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
# FIXME: See CORE-8200
|
||||
set(IDL_FLAGS ${IDL_FLAGS} -Oif)
|
||||
|
||||
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/svcctl.idl)
|
||||
|
||||
|
||||
|
|
|
@ -61,10 +61,10 @@ function(add_rpc_files __type)
|
|||
get_defines(DEFINES)
|
||||
# Is it a client or server module?
|
||||
if(__type STREQUAL "server")
|
||||
set(__server_client -Oif -s -o)
|
||||
set(__server_client -s -o)
|
||||
set(__suffix _s)
|
||||
elseif(__type STREQUAL "client")
|
||||
set(__server_client -Oif -c -o)
|
||||
set(__server_client -c -o)
|
||||
set(__suffix _c)
|
||||
else()
|
||||
message(FATAL_ERROR "Please pass either server or client as argument to add_rpc_files")
|
||||
|
|
|
@ -11,6 +11,9 @@ include_directories(
|
|||
${REACTOS_SOURCE_DIR}/lib/cryptlib
|
||||
${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
# FIXME: See CORE-8200
|
||||
set(IDL_FLAGS ${IDL_FLAGS} -Oif)
|
||||
|
||||
add_rpc_files(client
|
||||
${REACTOS_SOURCE_DIR}/include/reactos/idl/eventlogrpc.idl
|
||||
${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl
|
||||
|
|
|
@ -4,6 +4,9 @@ include_directories(
|
|||
${REACTOS_SOURCE_DIR}/include/reactos/idl
|
||||
${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
|
||||
|
||||
# FIXME: See CORE-8200
|
||||
set(IDL_FLAGS ${IDL_FLAGS} -Oif)
|
||||
|
||||
add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
|
||||
spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB)
|
||||
|
||||
|
|
Loading…
Reference in a new issue