3307e385a7a3f3feff02300b24496bf8d8b57dc5
[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 ${CMAKE_CURRENT_SOURCE_DIR}/winhttp.spec ${CMAKE_CURRENT_BINARY_DIR}/winhttp.def)
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
16 set_module_type(winhttp win32dll)
17
18 target_link_libraries(winhttp
19 ${CMAKE_CURRENT_BINARY_DIR}/winhttp.def
20 wine)
21
22 add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt kernel32 ntdll)
23 add_dependencies(winhttp winhttp_def)