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)
91 add_asm_files(mshtml_asm msvc.S)
94 add_library(mshtml SHARED
99 ${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c
100 ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
102 list(APPEND mshtml_rc_deps
103 ${CMAKE_CURRENT_SOURCE_DIR}/blank.htm
104 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml.inf
105 ${CMAKE_CURRENT_SOURCE_DIR}/mshtml_classes.rgs)
107 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${mshtml_rc_deps}")
109 set_module_type(mshtml win32dll)
110 target_link_libraries(mshtml uuid wine strmiids oldnames)
111 add_delay_importlibs(mshtml wininet)
112 add_importlibs(mshtml urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
113 add_dependencies(mshtml mshtml_nsiface_header)
114 add_pch(mshtml mshtml_private.h SOURCE)
115 add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)