2014-11-08 10:22:22 +00:00
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2015-03-29 13:35:37 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2014-11-08 10:22:22 +00:00
|
|
|
spec2def(wshom.ocx wshom.ocx.spec)
|
|
|
|
add_idl_headers(wshom_idlheader wshom.idl)
|
|
|
|
add_typelib(wshom.idl)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
shell.c
|
|
|
|
wshom_main.c
|
2018-03-25 11:39:53 +00:00
|
|
|
precomp.h)
|
2014-11-08 10:22:22 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(wshom MODULE
|
2014-11-08 10:22:22 +00:00
|
|
|
${SOURCE}
|
|
|
|
guid.c
|
|
|
|
wshom.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wshom.def)
|
|
|
|
|
|
|
|
list(APPEND wshom_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wshom.rgs
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/wshom.tlb.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/wshom.tlb)
|
|
|
|
|
|
|
|
set_source_files_properties(wshom.rc PROPERTIES OBJECT_DEPENDS "${wshom_rc_deps}")
|
|
|
|
set_module_type(wshom win32ocx)
|
|
|
|
target_link_libraries(wshom uuid wine)
|
2015-11-20 10:21:19 +00:00
|
|
|
add_importlibs(wshom oleaut32 ole32 shell32 advapi32 advapi32_vista user32 msvcrt kernel32 ntdll)
|
2014-11-08 10:22:22 +00:00
|
|
|
add_dependencies(wshom stdole2 wshom_idlheader)
|
2018-03-25 11:39:53 +00:00
|
|
|
add_pch(wshom precomp.h SOURCE)
|
2014-11-08 10:22:22 +00:00
|
|
|
add_cd_file(TARGET wshom DESTINATION reactos/system32 FOR all)
|