a1062ac209abc93b60020230ad9ecf0754873349
[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(
8 ${REACTOS_SOURCE_DIR}/include/reactos/wine)
9
10
11 spec2def(wuapi.dll wuapi.spec)
12
13 list(APPEND SOURCE
14 downloader.c
15 installer.c
16 main.c
17 regsvr.c
18 searcher.c
19 session.c
20 updates.c
21 ${CMAKE_CURRENT_BINARY_DIR}/wuapi.def)
22
23 add_library(wuapi SHARED ${SOURCE})
24
25 set_module_type(wuapi win32dll)
26 target_link_libraries(wuapi uuid wine wuguid)
27 add_importlibs(wuapi ole32 advapi32 msvcrt kernel32 ntdll)
28 add_cd_file(TARGET wuapi DESTINATION reactos/system32)