Sync with trunk r58740.
[reactos.git] / dll / win32 / urlmon / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_URLMON_
5 -DENTRY_PREFIX=URLMON_
6 -DPROXY_DELEGATION
7 -DWINE_REGISTER_DLL
8 -DPROXY_CLSID_IS="{0x79EAC9F1,0xBAF9,0x11CE,{0x8C,0x82,0x00,0xAA,0x00,0x4B,0xA9,0x0B}}")
9
10 remove_definitions(-D_WIN32_WINNT=0x502)
11 add_definitions(-D_WIN32_WINNT=0x600)
12
13 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
14
15 spec2def(urlmon.dll urlmon.spec ADD_IMPORTLIB)
16
17 add_rpcproxy_files(urlmon_urlmon.idl)
18
19 list(APPEND SOURCE
20 axinstall.c
21 bindctx.c
22 binding.c
23 bindprot.c
24 download.c
25 file.c
26 format.c
27 ftp.c
28 gopher.c
29 http.c
30 internet.c
31 mimefilter.c
32 mk.c
33 protocol.c
34 sec_mgr.c
35 session.c
36 umon.c
37 umstream.c
38 uri.c
39 urlmon_main.c
40 usrmarshal.c
41 urlmon.rc
42 ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
43 ${CMAKE_CURRENT_BINARY_DIR}/urlmon_urlmon_p.c
44 ${CMAKE_CURRENT_BINARY_DIR}/urlmon_stubs.c
45 ${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
46
47 add_library(urlmon SHARED ${SOURCE})
48 set_module_type(urlmon win32dll)
49 target_link_libraries(urlmon uuid wine ${PSEH_LIB})
50 add_importlibs(urlmon rpcrt4 propsys ole32 oleaut32 shlwapi shell32 wininet user32 advapi32 advpack msvcrt kernel32 ntdll)
51 add_pch(urlmon urlmon_main.h)
52 add_cd_file(TARGET urlmon DESTINATION reactos/system32 FOR all)