[CMAKE]
[reactos.git] / 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 -D_DLL -D__USE_CRTIMP)
12
13 add_executable(winhlp32
14 callback.c
15 hlpfile.c
16 macro.c
17 string.c
18 winhelp.c
19 lex.yy.c
20 rsrc.rc)
21
22 set_module_type(winhlp32 win32gui)
23
24 target_link_libraries(winhlp32 wine)
25 add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
26 add_cab_target(winhlp32 4)