reactos/drivers/bus/isapnp/CMakeLists.txt
Dmitry Borisov 8939abf113 [ISAPNP] Disable bus scan on unsupported platforms
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.
2021-06-20 19:24:32 +06:00

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)