mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
[SDK][VIRTIO][NETKVM] Make VirtIO a separate library (#6280)
* [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
This commit is contained in:
parent
96d5b6281d
commit
823fdb19d7
20 changed files with 35 additions and 8 deletions
17
sdk/lib/drivers/virtio/CMakeLists.txt
Normal file
17
sdk/lib/drivers/virtio/CMakeLists.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
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()
|
Loading…
Add table
Add a link
Reference in a new issue