[CMD][EXPLORER] Properly track resource file dependencies. CORE-9806
[reactos.git] / reactos / base / shell / cmd / CMakeLists.txt
1
2 add_definitions(
3 -DANONYMOUSUNIONS
4 -D_DEBUG_MEM)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 list(APPEND SOURCE
9 alias.c
10 assoc.c
11 attrib.c
12 batch.c
13 beep.c
14 call.c
15 chcp.c
16 choice.c
17 cls.c
18 cmd.c
19 cmddbg.c
20 cmdinput.c
21 cmdtable.c
22 color.c
23 console.c
24 copy.c
25 date.c
26 del.c
27 delay.c
28 dir.c
29 dirstack.c
30 echo.c
31 error.c
32 filecomp.c
33 for.c
34 free.c
35 goto.c
36 history.c
37 if.c
38 internal.c
39 label.c
40 locale.c
41 memory.c
42 misc.c
43 mklink.c
44 move.c
45 msgbox.c
46 parser.c
47 path.c
48 pause.c
49 prompt.c
50 redir.c
51 ren.c
52 replace.c
53 screen.c
54 set.c
55 setlocal.c
56 shift.c
57 start.c
58 strtoclr.c
59 time.c
60 timer.c
61 title.c
62 type.c
63 ver.c
64 verify.c
65 vol.c
66 where.c
67 window.c
68 precomp.h)
69
70 add_rc_deps(cmd.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico)
71 add_executable(cmd ${SOURCE} cmd.rc)
72 target_link_libraries(cmd wine)
73 set_module_type(cmd win32cui UNICODE)
74 add_importlibs(cmd advapi32 user32 msvcrt kernel32 ntdll)
75 add_pch(cmd precomp.h SOURCE)
76 add_cd_file(TARGET cmd DESTINATION reactos/system32 FOR all)