IoUringAssmEngine: Add skeleton setup/finalize
Also add dependency on liburing. This patch adds basic io_uring_queue_init and io_uring_exit support and calls.
This commit is contained in:
@@ -6,6 +6,9 @@ if(ENABLE_STIMBUFFAPI_livoxGen1)
|
||||
# Set CONFIG variable for config.h
|
||||
set(CONFIG_STIMBUFFAPI_LIVOXGEN1_ENABLED 1)
|
||||
|
||||
# Find liburing using pkg-config
|
||||
pkg_check_modules(URING REQUIRED liburing)
|
||||
|
||||
add_library(livoxGen1 SHARED
|
||||
livoxGen1.cpp
|
||||
stagingBuffer.cpp
|
||||
@@ -16,9 +19,14 @@ if(ENABLE_STIMBUFFAPI_livoxGen1)
|
||||
target_include_directories(livoxGen1 PUBLIC
|
||||
${Boost_INCLUDE_DIRS}
|
||||
${CMAKE_SOURCE_DIR}/commonLibs
|
||||
${URING_INCLUDE_DIRS}
|
||||
)
|
||||
target_link_libraries(livoxGen1
|
||||
${Boost_LIBRARIES}
|
||||
${URING_LIBRARIES}
|
||||
)
|
||||
target_link_directories(livoxGen1 PUBLIC
|
||||
${URING_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
# Install rules
|
||||
|
||||
Reference in New Issue
Block a user