mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
8dbb800358
Follow-up to #5626. - Implement CMruBase class. - Add delay import of shell32. - Add RegCreateKeyExWrapW prototype to <shlobj_undoc.h>. CORE-9283
30 lines
879 B
CMake
30 lines
879 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-D_SHDOCVW_)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
|
spec2def(shdocvw.dll shdocvw.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
shdocvw_main.c
|
|
shlinstobj.c
|
|
precomp.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw_stubs.c)
|
|
|
|
add_typelib(shdocvw_v1.idl)
|
|
set_source_files_properties(shdocvw.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shdocvw_v1.tlb)
|
|
|
|
add_library(shdocvw MODULE
|
|
${SOURCE}
|
|
mrulist.cpp
|
|
shdocvw.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
|
|
|
|
set_module_type(shdocvw win32dll)
|
|
target_link_libraries(shdocvw uuid wine)
|
|
add_delay_importlibs(shdocvw shell32 ole32 oleaut32 ieframe)
|
|
add_importlibs(shdocvw shlwapi advapi32 msvcrt kernel32 ntdll)
|
|
add_dependencies(shdocvw stdole2)
|
|
add_pch(shdocvw precomp.h SOURCE)
|
|
add_cd_file(TARGET shdocvw DESTINATION reactos/system32 FOR all)
|