2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
|
|
|
|
|
2014-02-08 18:13:52 +00:00
|
|
|
list(APPEND SOURCE
|
2011-05-16 13:12:07 +00:00
|
|
|
convert.c
|
|
|
|
function.c
|
|
|
|
rpn.c
|
|
|
|
utl.c
|
|
|
|
winmain.c
|
2014-02-08 18:13:52 +00:00
|
|
|
calc.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-06-17 17:20:29 +00:00
|
|
|
file(GLOB calc_rc_deps res/*.*)
|
|
|
|
add_rc_deps(resource.rc ${calc_rc_deps})
|
2014-02-08 18:13:52 +00:00
|
|
|
add_executable(calc ${SOURCE} resource.rc)
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(calc win32gui UNICODE)
|
2017-06-09 18:21:54 +00:00
|
|
|
add_importlibs(calc advapi32 comctl32 user32 shell32 gdi32 msvcrt kernel32)
|
2014-09-07 18:18:00 +00:00
|
|
|
|
2016-08-06 08:26:54 +00:00
|
|
|
if(MSVC)
|
2012-12-22 10:47:06 +00:00
|
|
|
add_importlibs(calc ntdll)
|
2011-05-16 13:12:07 +00:00
|
|
|
endif()
|
2014-09-07 18:18:00 +00:00
|
|
|
|
2014-02-08 18:13:52 +00:00
|
|
|
add_pch(calc calc.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
|