mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 13:52:30 +00:00
4019caae75
svn path=/branches/shell32_new-bringup/; revision=51893
37 lines
792 B
CMake
37 lines
792 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__ -D_WINE
|
|
-Dclose=_close)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(wininet.dll wininet.spec)
|
|
|
|
set_rc_compiler()
|
|
|
|
list(APPEND SOURCE
|
|
cookie.c
|
|
dialogs.c
|
|
ftp.c
|
|
gopher.c
|
|
http.c
|
|
internet.c
|
|
netconnection.c
|
|
urlcache.c
|
|
utility.c
|
|
wininet_main.c
|
|
rsrc.rc
|
|
version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/wininet_stubs.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
|
|
|
|
add_library(wininet SHARED ${SOURCE})
|
|
|
|
set_module_type(wininet win32dll)
|
|
|
|
target_link_libraries(wininet wine ${PSEH_LIB})
|
|
|
|
add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 secur32 crypt32 ws2_32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET wininet DESTINATION reactos/system32 FOR all)
|
|
add_importlib_target(wininet.spec)
|