1
2list(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
12file(GLOB calc_rc_deps res/*.*)
13add_rc_deps(resource.rc ${calc_rc_deps})
14add_executable(calc ${SOURCE} resource.rc)
15set_module_type(calc win32gui UNICODE)
16add_importlibs(calc advapi32 comctl32 user32 shell32 gdi32 msvcrt kernel32)
17
18if(MSVC)
19    add_importlibs(calc ntdll)
20endif()
21
22add_pch(calc calc.h SOURCE)
23add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
24