Sync with trunk r63647.
[reactos.git] / base / applications / calc / CMakeLists.txt
1
2 add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
3
4 list(APPEND SOURCE
5 about.c
6 convert.c
7 function.c
8 rpn.c
9 utl.c
10 winmain.c
11 calc.h)
12
13 add_executable(calc ${SOURCE} resource.rc)
14 set_module_type(calc win32gui UNICODE)
15 add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
16 if(MSVC)
17 add_importlibs(calc ntdll)
18 endif()
19 add_pch(calc calc.h SOURCE)
20 add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)