2011-05-16 13:12:07 +00:00
|
|
|
|
2013-01-06 14:32:46 +00:00
|
|
|
add_definitions(
|
|
|
|
-D__WINESRC__
|
|
|
|
-D_SHDOCVW_)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-09-26 16:48:23 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(shdocvw.dll shdocvw.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
shdocvw_main.c
|
|
|
|
shlinstobj.c
|
2014-02-10 12:19:56 +00:00
|
|
|
shdocvw.h
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw_stubs.c)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2013-04-21 13:50:00 +00:00
|
|
|
add_typelib(shdocvw_v1.idl)
|
|
|
|
set_source_files_properties(shdocvw.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shdocvw_v1.tlb)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
|
|
|
add_library(shdocvw SHARED
|
|
|
|
${SOURCE}
|
|
|
|
shdocvw.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/shdocvw.def)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(shdocvw win32dll)
|
|
|
|
target_link_libraries(shdocvw uuid wine)
|
2013-09-26 16:48:23 +00:00
|
|
|
add_delay_importlibs(shdocvw ole32 oleaut32 ieframe)
|
2013-04-21 13:50:00 +00:00
|
|
|
add_importlibs(shdocvw shlwapi advapi32 msvcrt kernel32 ntdll)
|
2012-01-03 00:17:18 +00:00
|
|
|
# shdocvw_v1.tlb needs stdole2.tlb
|
|
|
|
add_dependencies(shdocvw stdole2)
|
2014-02-10 12:19:56 +00:00
|
|
|
add_pch(shdocvw shdocvw.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET shdocvw DESTINATION reactos/system32 FOR all)
|