mirror of
https://github.com/reactos/reactos.git
synced 2024-09-14 06:42:52 +00:00
32 lines
674 B
CMake
32 lines
674 B
CMake
|
|
spec2def(scsiport.sys scsiport.spec ADD_IMPORTLIB)
|
|
|
|
# Embed RTC libs
|
|
if (STACK_PROTECTOR)
|
|
target_sources(libscsiport PRIVATE $<TARGET_OBJECTS:gcc_ssp_scsiport>)
|
|
endif()
|
|
|
|
list(APPEND SOURCE
|
|
fdo.c
|
|
ioctl.c
|
|
pdo.c
|
|
power.c
|
|
registry.c
|
|
scsi.c
|
|
scsiport.c
|
|
stubs.c)
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
guid.c)
|
|
|
|
add_library(scsiport MODULE
|
|
${SOURCE}
|
|
${PCH_SKIP_SOURCE}
|
|
scsiport.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
|
|
|
|
add_pch(scsiport scsiport.h "${PCH_SKIP_SOURCE}")
|
|
set_module_type(scsiport kernelmodedriver)
|
|
add_importlibs(scsiport ntoskrnl hal)
|
|
add_cd_file(TARGET scsiport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|