[APPLICATIONS] Properly track resource file dependencies. CORE-9806
[reactos.git] / reactos / base / applications / mstsc / CMakeLists.txt
1
2 list(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
33 file(GLOB mstsc_rc_deps res/*.*)
34 add_rc_deps(rdc.rc ${mstsc_rc_deps})
35 add_executable(mstsc ${SOURCE} rdc.rc)
36 set_module_type(mstsc win32gui UNICODE)
37 add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
38 add_pch(mstsc precomp.h SOURCE)
39 add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)