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