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