mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 08:25:53 +00:00
8939abf113
This speeds up boot a bit and also decreases binary size. - Introduce a new CMake define ISAPNP_ENABLE that defined only in x86 platform when ISA PnP is supported.
22 lines
471 B
CMake
22 lines
471 B
CMake
|
|
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()
|
|
|
|
add_library(isapnp MODULE ${SOURCE} isapnp.rc)
|
|
set_module_type(isapnp kernelmodedriver)
|
|
add_importlibs(isapnp ntoskrnl hal)
|
|
add_pch(isapnp isapnp.h SOURCE)
|
|
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|