2017-10-12 20:37:43 +00:00
|
|
|
|
|
|
|
spec2def(storport.sys storport.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
fdo.c
|
2017-10-14 17:12:24 +00:00
|
|
|
miniport.c
|
2017-10-12 20:37:43 +00:00
|
|
|
misc.c
|
|
|
|
pdo.c
|
|
|
|
storport.c
|
2020-05-09 21:37:40 +00:00
|
|
|
stubs.c)
|
|
|
|
|
|
|
|
list(APPEND PCH_SKIP_SOURCE
|
|
|
|
guid.c)
|
2017-10-12 20:37:43 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(storport MODULE
|
2017-10-12 20:37:43 +00:00
|
|
|
${SOURCE}
|
2020-05-09 21:37:40 +00:00
|
|
|
${PCH_SKIP_SOURCE}
|
2017-10-12 20:37:43 +00:00
|
|
|
storport.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/storport.def)
|
|
|
|
|
2020-05-09 21:37:40 +00:00
|
|
|
add_pch(storport precomp.h "${PCH_SKIP_SOURCE}")
|
2017-10-12 20:37:43 +00:00
|
|
|
set_module_type(storport kernelmodedriver)
|
|
|
|
add_importlibs(storport ntoskrnl hal)
|
|
|
|
add_cd_file(TARGET storport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|