From 5156ef29e8e612c99fb97a02e19393e8558ddb50 Mon Sep 17 00:00:00 2001 From: Johannes Anderwald Date: Thu, 17 Feb 2011 23:54:23 +0000 Subject: [PATCH] - 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 --- dll/win32/wuapi/CMakeLists.txt | 6 +++++- include/psdk/CMakeLists.txt | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/dll/win32/wuapi/CMakeLists.txt b/dll/win32/wuapi/CMakeLists.txt index e54ef79af9b..04acf9fd6a1 100644 --- a/dll/win32/wuapi/CMakeLists.txt +++ b/dll/win32/wuapi/CMakeLists.txt @@ -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}) diff --git a/include/psdk/CMakeLists.txt b/include/psdk/CMakeLists.txt index 89d5b2158b5..1c839b6d9f2 100644 --- a/include/psdk/CMakeLists.txt +++ b/include/psdk/CMakeLists.txt @@ -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}) -- 2.17.1