2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
2012-12-22 10:47:06 +00:00
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2015-04-11 06:21:09 +00:00
|
|
|
spec2def(hhctrl.ocx hhctrl.ocx.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2014-02-10 12:19:56 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
chm.c
|
|
|
|
content.c
|
|
|
|
help.c
|
|
|
|
hhctrl.c
|
|
|
|
index.c
|
|
|
|
search.c
|
|
|
|
stream.c
|
2020-05-09 21:37:40 +00:00
|
|
|
webbrowser.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2014-02-10 12:19:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(hhctrl MODULE
|
2014-02-10 12:19:56 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2013-04-08 16:35:35 +00:00
|
|
|
hhctrl.rc
|
2011-05-16 13:12:07 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def)
|
|
|
|
|
2013-04-08 16:35:35 +00:00
|
|
|
add_typelib(hhctrl_tlb.idl)
|
2013-04-23 16:35:53 +00:00
|
|
|
|
|
|
|
list(APPEND hhctrl_rc_deps
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/hhctrl_tlb.rgs
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/hhctrl_tlb.tlb)
|
|
|
|
|
|
|
|
set_source_files_properties(hhctrl.rc PROPERTIES OBJECT_DEPENDS "${hhctrl_rc_deps}")
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(hhctrl win32ocx)
|
2013-12-25 14:23:09 +00:00
|
|
|
target_link_libraries(hhctrl uuid wine)
|
2013-04-08 16:35:35 +00:00
|
|
|
add_importlibs(hhctrl advapi32 comctl32 shlwapi ole32 oleaut32 user32 gdi32 msvcrt kernel32 ntdll)
|
2014-10-17 23:28:29 +00:00
|
|
|
add_dependencies(hhctrl stdole2 wineheaders)
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(hhctrl precomp.h "${PCH_SKIP_SOURCE}")
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET hhctrl DESTINATION reactos/system32 FOR all)
|