1
2add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
3
4list(APPEND SOURCE
5    convert.c
6    fun_ieee.c
7    rpn_ieee.c
8    utl_ieee.c
9    winmain.c
10    htmlhelp.c
11    theme.c
12    calc.h)
13
14file(GLOB calc_rc_deps res/*.*)
15add_rc_deps(resource.rc ${calc_rc_deps})
16add_executable(calc ${SOURCE} resource.rc)
17set_module_type(calc win32gui UNICODE)
18add_importlibs(calc advapi32 comctl32 user32 shell32 gdi32 msvcrt kernel32)
19
20if(MSVC)
21    add_importlibs(calc ntdll)
22endif()
23
24add_pch(calc calc.h SOURCE)
25add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
26