[CALC] Enable support for HTMLHELP (#1877)
[reactos.git] / base / applications / calc / CMakeLists.txt
1
2 list(APPEND SOURCE
3 convert.c
4 fun_ieee.c
5 rpn_ieee.c
6 utl_ieee.c
7 winmain.c
8 htmlhelp.c
9 theme.c
10 calc.h)
11
12 file(GLOB calc_rc_deps res/*.*)
13 add_rc_deps(resource.rc ${calc_rc_deps})
14 add_executable(calc ${SOURCE} resource.rc)
15 set_module_type(calc win32gui UNICODE)
16 add_importlibs(calc advapi32 comctl32 user32 shell32 gdi32 msvcrt kernel32)
17
18 if(MSVC)
19 add_importlibs(calc ntdll)
20 endif()
21
22 add_pch(calc calc.h SOURCE)
23 add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)