[CMAKE]
[reactos.git] / dll / win32 / winhttp / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(winhttp.dll winhttp.spec)
6
7 add_library(winhttp SHARED
8 cookie.c
9 handle.c
10 main.c
11 net.c
12 request.c
13 session.c
14 url.c
15 ${CMAKE_CURRENT_BINARY_DIR}/winhttp.def)
16
17 set_module_type(winhttp win32dll)
18
19 target_link_libraries(winhttp wine)
20
21 add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt crypt32 advapi32 kernel32 ntdll)
22
23 add_cab_target(winhttp 1)