1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) 4 5spec2def(winhttp.dll winhttp.spec) 6 7add_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 17set_module_type(winhttp win32dll) 18 19target_link_libraries(winhttp wine) 20 21add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt crypt32 advapi32 kernel32 ntdll) 22 23add_cab_target(winhttp 1) 24