2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(../inc)
|
2014-10-17 23:28:29 +00:00
|
|
|
spec2def(classpnp.sys classpnp.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DCLASS_GLOBAL_BREAK_ON_LOST_IRPS=0
|
|
|
|
-DCLASS_GLOBAL_SECONDS_TO_WAIT_FOR_SYNCHRONOUS_SRB=100
|
|
|
|
-DCLASS_GLOBAL_USE_DELAYED_RETRY=1
|
|
|
|
-DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT=0
|
|
|
|
-DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFER_SIZE=512
|
|
|
|
-DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS=512)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
autorun.c
|
|
|
|
class.c
|
|
|
|
classwmi.c
|
|
|
|
clntirp.c
|
|
|
|
create.c
|
|
|
|
data.c
|
|
|
|
debug.c
|
|
|
|
dictlib.c
|
|
|
|
lock.c
|
|
|
|
obsolete.c
|
|
|
|
power.c
|
|
|
|
retry.c
|
|
|
|
utils.c
|
|
|
|
xferpkt.c
|
2014-02-09 17:28:01 +00:00
|
|
|
classp.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(classpnp MODULE
|
2012-03-10 19:20:27 +00:00
|
|
|
${SOURCE}
|
2014-02-09 17:28:01 +00:00
|
|
|
guid.c
|
|
|
|
class.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
|
2012-03-10 19:20:27 +00:00
|
|
|
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(classpnp classp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
|
|
|
set_module_type(classpnp kernelmodedriver)
|
|
|
|
add_importlibs(classpnp hal ntoskrnl)
|
|
|
|
add_cd_file(TARGET classpnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|