[CALC] Use ShellAbout for the about dialog in Calc. Patch by Jason Wendt. Thank You.
[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(CMAKE_C_COMPILER_ID STREQUAL "Clang")
19 target_link_libraries(calc mingwex)
20 elseif(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)