- Add wuapi.idl to build
authorJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 17 Feb 2011 23:54:23 +0000 (23:54 +0000)
committerJohannes Anderwald <johannes.anderwald@reactos.org>
Thu, 17 Feb 2011 23:54:23 +0000 (23:54 +0000)
- 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
include/psdk/CMakeLists.txt

index e54ef79..04acf9f 100644 (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})
index 89d5b21..1c839b6 100644 (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})