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