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