2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
9 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
10 add_idl_headers(mshtml_nsiface_header nsiface.idl)
11 spec2def(mshtml.dll mshtml.spec ADD_IMPORTLIB)
14 # error C4028: formal parameter 3 different from declaration
15 replace_compile_flags("/we4028" " ")
94 add_asm_files(mshtml_asm msvc.S)
97 add_library(mshtml MODULE
102 ${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c
103 ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
105 list(APPEND mshtml_rc_deps
106 ${CMAKE_CURRENT_SOURCE_DIR}/blank.htm
107 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml.inf
108 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml_classes.rgs)
110 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${mshtml_rc_deps}")
111 set_module_type(mshtml win32dll)
112 target_link_libraries(mshtml uuid wine strmiids oldnames)
113 add_delay_importlibs(mshtml wininet)
114 add_importlibs(mshtml urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
115 add_dependencies(mshtml mshtml_nsiface_header)
116 add_pch(mshtml mshtml_private.h SOURCE)
117 add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)