mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00

* [SDK][VIRTIO][NETKVM] Make VirtIO a separate library This is to avoid code duplication when more VirtIO drivers are brought in. This will also be used on development of a VirtIO XDDM GPU Driver. * [VIRTIO] Sync with upstream
17 lines
335 B
CMake
17 lines
335 B
CMake
|
|
list(APPEND SOURCE
|
|
VirtIOPCICommon.c
|
|
VirtIOPCILegacy.c
|
|
VirtIOPCIModern.c
|
|
VirtIORing.c
|
|
VirtIORing-Packed.c)
|
|
|
|
add_library(virtio ${SOURCE})
|
|
add_dependencies(virtio xdk)
|
|
|
|
if(NOT MSVC)
|
|
target_compile_options(virtio PRIVATE
|
|
-Wno-unused-function
|
|
-Wno-unknown-pragmas
|
|
-Wno-attributes)
|
|
endif()
|