1 2list(APPEND SOURCE 3 asn.c 4 bitmap.c 5 bsops.c 6 cache.c 7 channels.c 8 connectdialog.c 9 iso.c 10 licence.c 11 mcs.c 12 mppc.c 13 orders.c 14 pstcache.c 15 rdp5.c 16 rdp.c 17 secure.c 18 settings.c 19 ssl_calls.c 20 tcp.c 21 uimain.c 22 win32.c 23 bsops.h 24 constants.h 25 orders.h 26 proto.h 27 rdesktop.h 28 resource.h 29 types.h 30 uimain.h 31 precomp.h) 32 33add_definitions(-DWITH_SSL) 34file(GLOB mstsc_rc_deps res/*.*) 35add_rc_deps(rdc.rc ${mstsc_rc_deps}) 36add_executable(mstsc ${SOURCE} rdc.rc) 37set_module_type(mstsc win32gui UNICODE) 38add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 crypt32 secur32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32) 39add_pch(mstsc precomp.h SOURCE) 40add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all) 41 42if(MSVC) 43 # Disable warning C4267: 'initializing': conversion from 'size_t' to 'uint16', possible loss of data 44 target_compile_options(mstsc PRIVATE /wd4267) 45endif() 46