[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 list(APPEND SOURCE
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 add_library(winhttp SHARED ${SOURCE})
18
19 set_module_type(winhttp win32dll)
20 target_link_libraries(winhttp wine)
21 add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt crypt32 advapi32 kernel32 ntdll)
22 add_importlib_target(winhttp.spec)
23 add_cd_file(TARGET winhttp DESTINATION reactos/system32 FOR all)