4cb2bd729350b75a1fe17869d228236770835f12
[reactos.git] / dll / win32 / wininet / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__ -D_WINE)
3 add_definitions(-Dclose=_close)
4
5 include_directories(
6 ${REACTOS_SOURCE_DIR}/include/reactos/wine
7 ${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib)
8
9 spec2def(wininet.dll wininet.spec)
10
11 set_rc_compiler()
12
13 list(APPEND SOURCE
14 cookie.c
15 dialogs.c
16 ftp.c
17 gopher.c
18 http.c
19 internet.c
20 netconnection.c
21 urlcache.c
22 utility.c
23 wininet_main.c
24 rsrc.rc
25 version.rc
26 ${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
27
28 add_library(wininet SHARED ${SOURCE})
29
30 set_module_type(wininet win32dll)
31
32 target_link_libraries(wininet
33 wine
34 zlib
35 ${PSEH_LIB})
36
37 add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 secur32 crypt32 ws2_32 msvcrt kernel32 ntdll)
38
39 add_cab_target(wininet 1)
40 add_importlib_target(wininet.spec)