mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
- Add wuapi.idl to build
- Include psdk dir for header search - Fixes wuapi compile with msvc, though doesnt link yet svn path=/branches/cmake-bringup/; revision=50774
This commit is contained in:
parent
2c828839b6
commit
5156ef29e8
|
@ -4,7 +4,10 @@ add_definitions(-D__WINESRC__)
|
|||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
include_directories(
|
||||
${REACTOS_SOURCE_DIR}/include/reactos/wine
|
||||
${REACTOS_BINARY_DIR}/include/psdk)
|
||||
|
||||
|
||||
spec2def(wuapi.dll wuapi.spec)
|
||||
|
||||
|
@ -16,6 +19,7 @@ list(APPEND SOURCE
|
|||
searcher.c
|
||||
session.c
|
||||
updates.c
|
||||
#${REACTOS_BINARY_DIR}/include/psdk/wuapi_i.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/wuapi.def)
|
||||
|
||||
add_library(wuapi SHARED ${SOURCE})
|
||||
|
|
|
@ -97,6 +97,7 @@ list(APPEND SOURCE
|
|||
wincodec.idl
|
||||
winsxs.idl
|
||||
wtypes.idl
|
||||
wuapi.idl
|
||||
xmldom.idl
|
||||
xmldso.idl
|
||||
ctfutb.idl
|
||||
|
@ -104,8 +105,7 @@ list(APPEND SOURCE
|
|||
|
||||
if(NOT MSVC)
|
||||
list(APPEND SOURCE
|
||||
wbemcli.idl
|
||||
wuapi.idl)
|
||||
wbemcli.idl)
|
||||
endif()
|
||||
|
||||
add_idl_headers(psdk ${SOURCE})
|
||||
|
|
Loading…
Reference in a new issue