1 2include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils) 3 4list(APPEND SOURCE 5 active.c 6 add.c 7 assign.c 8 attach.c 9 attributes.c 10 automount.c 11 break.c 12 clean.c 13 compact.c 14 convert.c 15 create.c 16 delete.c 17 detach.c 18 detail.c 19 diskpart.c 20 dump.c 21 expand.c 22 extend.c 23 filesystems.c 24 format.c 25 gpt.c 26 help.c 27 import.c 28 inactive.c 29 interpreter.c 30 list.c 31 merge.c 32 misc.c 33 offline.c 34 online.c 35 partlist.c 36 recover.c 37 remove.c 38 repair.c 39 rescan.c 40 retain.c 41 san.c 42 select.c 43 setid.c 44 shrink.c 45 uniqueid.c 46 diskpart.h) 47 48add_executable(diskpart ${SOURCE} diskpart.rc) 49add_pch(diskpart diskpart.h SOURCE) 50add_message_headers(UNICODE diskpart_msg.mc) 51add_dependencies(diskpart diskpart_msg) 52 53set_module_type(diskpart win32cui UNICODE) 54target_link_libraries(diskpart conutils ${PSEH_LIB}) 55add_importlibs(diskpart advapi32 msvcrt kernel32 ntdll) 56 57if(MSVC) 58 add_importlibs(diskpart ntdll) 59endif() 60 61add_cd_file(TARGET diskpart DESTINATION reactos/system32 FOR all) 62