1 2list(APPEND HAL_LEGACY_SOURCE 3 legacy/bus/bushndlr.c 4 legacy/bus/cmosbus.c 5 legacy/bus/isabus.c 6 legacy/bus/pcibus.c 7 ${CMAKE_CURRENT_BINARY_DIR}/pci_classes.c 8 ${CMAKE_CURRENT_BINARY_DIR}/pci_vendors.c 9 legacy/bus/sysbus.c 10 legacy/bussupp.c 11 legacy/halpnpdd.c 12 legacy/halpcat.c) 13 14add_object_library(lib_hal_legacy ${HAL_LEGACY_SOURCE}) 15add_dependencies(lib_hal_legacy bugcodes xdk) 16#add_pch(lib_hal_legacy include/hal.h) 17 18if(MSVC) 19 target_link_libraries(lib_hal_legacy lib_hal_generic) 20endif() 21