2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DANONYMOUSUNIONS
|
|
|
|
-D_DEBUG_MEM)
|
|
|
|
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2017-10-01 16:30:39 +00:00
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
alias.c
|
|
|
|
assoc.c
|
|
|
|
attrib.c
|
|
|
|
batch.c
|
|
|
|
beep.c
|
|
|
|
call.c
|
|
|
|
choice.c
|
|
|
|
cls.c
|
|
|
|
cmd.c
|
|
|
|
cmddbg.c
|
|
|
|
cmdinput.c
|
|
|
|
cmdtable.c
|
|
|
|
color.c
|
|
|
|
console.c
|
|
|
|
copy.c
|
2017-10-02 17:03:01 +00:00
|
|
|
ctty.c
|
2011-05-16 13:12:07 +00:00
|
|
|
date.c
|
|
|
|
del.c
|
|
|
|
delay.c
|
|
|
|
dir.c
|
|
|
|
dirstack.c
|
|
|
|
echo.c
|
|
|
|
error.c
|
|
|
|
filecomp.c
|
|
|
|
for.c
|
|
|
|
free.c
|
|
|
|
goto.c
|
|
|
|
history.c
|
|
|
|
if.c
|
|
|
|
internal.c
|
|
|
|
label.c
|
|
|
|
locale.c
|
|
|
|
memory.c
|
|
|
|
misc.c
|
|
|
|
mklink.c
|
|
|
|
move.c
|
|
|
|
msgbox.c
|
|
|
|
parser.c
|
|
|
|
path.c
|
|
|
|
pause.c
|
|
|
|
prompt.c
|
|
|
|
redir.c
|
|
|
|
ren.c
|
|
|
|
replace.c
|
|
|
|
screen.c
|
|
|
|
set.c
|
|
|
|
setlocal.c
|
|
|
|
shift.c
|
|
|
|
start.c
|
|
|
|
strtoclr.c
|
|
|
|
time.c
|
|
|
|
timer.c
|
|
|
|
title.c
|
|
|
|
type.c
|
|
|
|
ver.c
|
|
|
|
verify.c
|
|
|
|
vol.c
|
|
|
|
where.c
|
2012-12-22 10:47:06 +00:00
|
|
|
window.c
|
2014-02-12 11:00:35 +00:00
|
|
|
precomp.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2015-06-22 18:39:14 +00:00
|
|
|
add_rc_deps(cmd.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico)
|
2014-02-12 11:00:35 +00:00
|
|
|
add_executable(cmd ${SOURCE} cmd.rc)
|
2017-10-01 16:30:39 +00:00
|
|
|
add_pch(cmd precomp.h SOURCE)
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(cmd win32cui UNICODE)
|
2017-10-01 16:30:39 +00:00
|
|
|
target_link_libraries(cmd wine)
|
|
|
|
target_link_libraries(cmd conutils ${PSEH_LIB})
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(cmd advapi32 user32 msvcrt kernel32 ntdll)
|
|
|
|
add_cd_file(TARGET cmd DESTINATION reactos/system32 FOR all)
|