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