2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5 spec2def(winhttp.dll winhttp.spec)
15 ${CMAKE_CURRENT_BINARY_DIR}/winhttp.def)
17 add_library(winhttp SHARED ${SOURCE})
19 set_module_type(winhttp win32dll)
20 target_link_libraries(winhttp wine)
21 add_delay_importlibs(winhttp crypt32)
22 add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt advapi32 kernel32 ntdll)
23 add_importlib_target(winhttp.spec)
24 add_cd_file(TARGET winhttp DESTINATION reactos/system32 FOR all)
27 allow_warnings(winhttp)