xref: /reactos/drivers/usb/usbstor/CMakeLists.txt (revision a9b97aed)
1c2c66affSColin Finck
2c2c66affSColin Fincklist(APPEND SOURCE
3c2c66affSColin Finck    descriptor.c
4c2c66affSColin Finck    disk.c
5c2c66affSColin Finck    fdo.c
6c2c66affSColin Finck    misc.c
7c2c66affSColin Finck    pdo.c
8c2c66affSColin Finck    queue.c
9c2c66affSColin Finck    error.c
10c2c66affSColin Finck    scsi.c
11*139a3d66SAmine Khaldi    usbstor.c)
12*139a3d66SAmine Khaldi
13*139a3d66SAmine Khaldilist(APPEND PCH_SKIP_SOURCE
14*139a3d66SAmine Khaldi    guid.c)
15c2c66affSColin Finck
1623373acbSJérôme Gardouadd_library(usbstor MODULE
17c2c66affSColin Finck    ${SOURCE}
18*139a3d66SAmine Khaldi    ${PCH_SKIP_SOURCE}
19c2c66affSColin Finck    usbstor.rc)
20c2c66affSColin Finck
21c2c66affSColin Finckset_module_type(usbstor kernelmodedriver)
22c2c66affSColin Finckadd_importlibs(usbstor ntoskrnl hal usbd)
23*139a3d66SAmine Khaldiadd_pch(usbstor usbstor.h "${PCH_SKIP_SOURCE}")
24c2c66affSColin Finckadd_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
25019f21eeSVictor Perevertkinadd_driver_inf(usbstor usbstor.inf)
26