31560ba56f36b54a8d8e8a199953acbf1133108c
[reactos.git] / reactos / base / applications / calc / CMakeLists.txt
1
2 add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
3
4 list(APPEND SOURCE
5 convert.c
6 function.c
7 rpn.c
8 utl.c
9 winmain.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 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)