2011-05-16 13:12:07 +00:00
|
|
|
|
2015-04-22 08:30:31 +00:00
|
|
|
remove_definitions(-DWINVER=0x502)
|
|
|
|
add_definitions(-DWINVER=0x600)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
add_definitions(
|
2011-09-04 00:52:28 +00:00
|
|
|
-D__WINESRC__
|
|
|
|
-D_WINE
|
|
|
|
-Dclose=_close)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(wininet.dll wininet.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
cookie.c
|
|
|
|
dialogs.c
|
|
|
|
ftp.c
|
|
|
|
gopher.c
|
|
|
|
http.c
|
|
|
|
internet.c
|
|
|
|
netconnection.c
|
|
|
|
urlcache.c
|
|
|
|
utility.c
|
2018-03-24 12:17:01 +00:00
|
|
|
precomp.h)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(wininet SHARED
|
|
|
|
${SOURCE}
|
|
|
|
rsrc.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wininet_stubs.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
|
|
|
|
|
|
|
|
set_module_type(wininet win32dll)
|
2012-01-25 11:33:05 +00:00
|
|
|
target_link_libraries(wininet wine ${PSEH_LIB} zlib)
|
2012-06-20 13:50:00 +00:00
|
|
|
add_delay_importlibs(wininet secur32 crypt32 cryptui)
|
2015-09-07 17:16:25 +00:00
|
|
|
add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 ws2_32 normaliz kernel32_vista msvcrt kernel32 ntdll)
|
2018-03-24 12:17:01 +00:00
|
|
|
add_pch(wininet precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET wininet DESTINATION reactos/system32 FOR all)
|