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