mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
1fb94b1cb5
sync with trunk (r49230) svn path=/branches/cmake-bringup/; revision=49246
24 lines
599 B
CMake
24 lines
599 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(winhttp ${CMAKE_CURRENT_SOURCE_DIR}/winhttp.spec ${CMAKE_CURRENT_BINARY_DIR}/winhttp.def)
|
|
|
|
add_library(winhttp SHARED
|
|
cookie.c
|
|
handle.c
|
|
main.c
|
|
net.c
|
|
request.c
|
|
session.c
|
|
url.c)
|
|
|
|
set_module_type(winhttp win32dll)
|
|
|
|
target_link_libraries(winhttp
|
|
${CMAKE_CURRENT_BINARY_DIR}/winhttp.def
|
|
wine)
|
|
|
|
add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt crypt32 advapi32 kernel32 ntdll)
|
|
add_dependencies(winhttp winhttp_def)
|
|
add_livecd_target(winhttp reactos/system32)
|