1391b0c993f8751c6a20974a9f7bd3b8504c7027
[reactos.git] / reactos / base / applications / winhlp32 / CMakeLists.txt
1
2 set_rc_compiler()
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 add_definitions(
7 -D__ROS_LONG64__
8 -D_CRT_NONSTDC_NO_DEPRECATE
9 -Dfileno=_fileno
10 -Disatty=_isatty)
11
12 add_executable(winhlp32
13 callback.c
14 hlpfile.c
15 macro.c
16 string.c
17 winhelp.c
18 lex.yy.c
19 rsrc.rc)
20
21 set_module_type(winhlp32 win32gui)
22 target_link_libraries(winhlp32 wine)
23 add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
24 add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
25
26 if(NOT MSVC)
27 allow_warnings(winhlp32)
28 endif()