mirror of
https://github.com/reactos/reactos.git
synced 2025-05-13 14:20:31 +00:00
[CMAKE]
* Addendum to r57893. svn path=/trunk/; revision=57894
This commit is contained in:
parent
c410c0a203
commit
ba64101d04
1 changed files with 14 additions and 12 deletions
|
@ -79,7 +79,8 @@ function(add_rpc_files _type)
|
||||||
endforeach()
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(generate_idl_iids _idl_file)
|
function(generate_idl_iids)
|
||||||
|
foreach(_idl_file ${ARGN})
|
||||||
get_includes(_includes)
|
get_includes(_includes)
|
||||||
get_defines(_defines)
|
get_defines(_defines)
|
||||||
|
|
||||||
|
@ -93,6 +94,7 @@ function(generate_idl_iids _idl_file)
|
||||||
COMMAND midl ${_includes} ${_defines} ${IDL_FLAGS} /h ${_name_we}_i.h /client none /server none /iid ${_name_we}_i.c /proxy ${_name_we}_dummy_p.c ${_idl_file}
|
COMMAND midl ${_includes} ${_defines} ${IDL_FLAGS} /h ${_name_we}_i.h /client none /server none /iid ${_name_we}_i.c /proxy ${_name_we}_dummy_p.c ${_idl_file}
|
||||||
DEPENDS ${_idl_file})
|
DEPENDS ${_idl_file})
|
||||||
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_name_we}_i.c PROPERTIES GENERATED TRUE)
|
set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_name_we}_i.c PROPERTIES GENERATED TRUE)
|
||||||
|
endforeach()
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
function(add_iid_library _target)
|
function(add_iid_library _target)
|
||||||
|
|
Loading…
Reference in a new issue