2 remove_definitions(-D_WIN32_WINNT=0x502)
3 add_definitions(-D_WIN32_WINNT=0x600)
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
10 add_idl_Headers(mshtml_nsiface_header nsiface.idl)
11 spec2def(mshtml.dll mshtml.spec)
89 ${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c
90 ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
93 add_asm_files(mshtml_asm msvc.S)
96 add_library(mshtml SHARED ${SOURCE} ${mshtml_asm})
98 list(APPEND mshtml_rc_deps
99 ${CMAKE_CURRENT_SOURCE_DIR}/blank.htm
100 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml.inf
101 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml_classes.rgs)
103 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${mshtml_rc_deps}")
105 set_module_type(mshtml win32dll)
106 target_link_libraries(mshtml uuid wine strmiids oldnames)
107 add_delay_importlibs(mshtml wininet)
108 add_importlibs(mshtml urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
109 add_dependencies(mshtml mshtml_nsiface_header)
110 add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)