[CMAKE]
[reactos.git] / base / applications / winhlp32 / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
3
4 add_definitions(
5 -D__ROS_LONG64__
6 -D_CRT_NONSTDC_NO_DEPRECATE
7 -Dfileno=_fileno
8 -Disatty=_isatty)
9
10 add_executable(winhlp32
11 callback.c
12 hlpfile.c
13 macro.c
14 string.c
15 winhelp.c
16 lex.yy.c
17 rsrc.rc)
18
19 set_module_type(winhlp32 win32gui)
20
21 target_link_libraries(winhlp32 wine)
22 add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
23 add_cab_target(winhlp32 4)