- 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:
Johannes Anderwald 2011-02-17 23:54:23 +00:00
parent 2c828839b6
commit 5156ef29e8
2 changed files with 7 additions and 3 deletions

View file

@ -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})

View file

@ -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})