reactos/drivers/bus/pcix/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00

47 lines
879 B
CMake

list(APPEND SOURCE
arb/ar_busno.c
arb/ar_memio.c
arb/arb_comn.c
arb/tr_irq.c
intrface/agpintrf.c
intrface/busintrf.c
intrface/cardbus.c
intrface/devhere.c
intrface/ideintrf.c
intrface/intrface.c
intrface/lddintrf.c
intrface/locintrf.c
intrface/pmeintf.c
intrface/routintf.c
pci/busno.c
pci/config.c
pci/devhere.c
pci/id.c
pci/ppbridge.c
pci/romimage.c
pci/state.c
debug.c
device.c
dispatch.c
enum.c
fdo.c
hookhal.c
init.c
pcivrify.c
pdo.c
power.c
usage.c
utils.c
pci.h)
add_library(pcix MODULE
${SOURCE}
guid.c
pci.rc)
set_module_type(pcix kernelmodedriver)
add_importlibs(pcix ntoskrnl hal)
add_pch(pcix pci.h SOURCE)
add_dependencies(pcix pciclass)
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)