reactos/base/applications/winhlp32/CMakeLists.txt
2018-04-01 13:09:44 +01:00

25 lines
660 B
CMake

include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
add_definitions(
-D__ROS_LONG64__
-D_CRT_NONSTDC_NO_DEPRECATE
-Dfileno=_fileno
-Disatty=_isatty)
list(APPEND SOURCE
callback.c
hlpfile.c
macro.c
macro.lex.yy.c
winhelp.c
precomp.h)
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winhelp.ico)
add_executable(winhlp32 ${SOURCE} string.c rsrc.rc)
set_module_type(winhlp32 win32gui)
target_link_libraries(winhlp32 wine)
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
add_pch(winhlp32 precomp.h SOURCE)
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)