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