2011-05-16 13:12:07 +00:00
|
|
|
|
2021-03-20 14:53:32 +00:00
|
|
|
if(ISAPNP_ENABLE)
|
|
|
|
list(APPEND SOURCE
|
|
|
|
fdo.c
|
|
|
|
hardware.c
|
|
|
|
interface.c
|
|
|
|
isapnp.c
|
|
|
|
isapnp.h
|
|
|
|
pdo.c)
|
|
|
|
else()
|
|
|
|
list(APPEND SOURCE
|
|
|
|
interface.c
|
|
|
|
isapnp.h
|
|
|
|
stub.c)
|
|
|
|
endif()
|
2011-05-16 13:12:07 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(isapnp MODULE ${SOURCE} isapnp.rc)
|
2011-05-16 13:12:07 +00:00
|
|
|
set_module_type(isapnp kernelmodedriver)
|
|
|
|
add_importlibs(isapnp ntoskrnl hal)
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(isapnp isapnp.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
2021-05-11 18:11:48 +00:00
|
|
|
add_registry_inf(isapnp_reg.inf)
|