reactos/dll/win32/wininet/CMakeLists.txt
Hermès Bélusca-Maïto b819608ed8 Create a branch for console restructuration work.
svn path=/branches/condrv_restructure/; revision=63104
2014-05-02 14:13:40 +00:00

37 lines
909 B
CMake

add_definitions(
-D__WINESRC__
-D_WINE
-Dclose=_close)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
spec2def(wininet.dll wininet.spec ADD_IMPORTLIB)
list(APPEND SOURCE
cookie.c
dialogs.c
ftp.c
gopher.c
http.c
internet.c
netconnection.c
urlcache.c
utility.c
wininet_main.c
internet.h)
add_library(wininet SHARED
${SOURCE}
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/wininet_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
set_module_type(wininet win32dll)
target_link_libraries(wininet wine ${PSEH_LIB} zlib)
add_delay_importlibs(wininet secur32 crypt32 cryptui)
add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 ws2_32 msvcrt kernel32 ntdll)
add_pch(wininet internet.h SOURCE)
add_cd_file(TARGET wininet DESTINATION reactos/system32 FOR all)