9d59f78eb47bf575e653b1392de4789efb76b76d
[reactos.git] / dll / win32 / wuapi / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3
4 remove_definitions(-D_WIN32_WINNT=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8
9 add_library(wuapi SHARED
10 downloader.c
11 installer.c
12 main.c
13 regsvr.c
14 searcher.c
15 session.c
16 updates.c
17 wuapi.def)
18
19 if(NOT MSVC)
20 set_source_files_properties(wuapi.def PROPERTIES EXTERNAL_OBJECT TRUE)
21 endif()
22
23 set_module_type(wuapi win32dll)
24
25 target_link_libraries(wuapi
26 wine
27 uuid)
28
29 add_importlibs(wuapi ole32 advapi32 msvcrt kernel32 ntdll)
30
31 add_cab_target(wuapi 1)