2011-05-16 13:12:07 +00:00
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
2019-01-25 12:07:47 +00:00
|
|
|
-D__WINESRC__
|
2011-05-16 13:12:07 +00:00
|
|
|
-D__ROS_LONG64__
|
|
|
|
-Dfileno=_fileno
|
2011-06-13 15:31:11 +00:00
|
|
|
-Disatty=_isatty)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2012-03-12 12:39:51 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
callback.c
|
|
|
|
hlpfile.c
|
|
|
|
macro.c
|
2014-02-08 18:13:52 +00:00
|
|
|
winhelp.c
|
2018-04-01 12:09:44 +00:00
|
|
|
precomp.h)
|
2014-02-08 18:13:52 +00:00
|
|
|
|
2015-06-17 17:20:29 +00:00
|
|
|
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winhelp.ico)
|
2019-04-08 05:12:20 +00:00
|
|
|
add_executable(winhlp32 ${SOURCE} macro.lex.yy.c string.c rsrc.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(winhlp32 win32gui)
|
|
|
|
target_link_libraries(winhlp32 wine)
|
|
|
|
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
|
2019-04-08 05:12:20 +00:00
|
|
|
add_pch(winhlp32 precomp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
|