static lib #4030
Replies: 1 comment
-
(also answered in a discussion on discord; I'm also answering it here so that it's visible). This is missing from our docs (it will be added soon), but in short, the easiest way is to use CMake to build and link the static libraries. E.g. cmake_minimum_required(VERSION 3.11)
project(example LANGUAGES CXX)
set(BUILD_SHELL FALSE)
include(FetchContent)
FetchContent_Declare(
kuzu URL https://github.com/kuzudb/kuzu/archive/refs/tags/v0.5.0.zip
)
FetchContent_MakeAvailable(kuzu)
add_executable(example main.c)
target_link_libraries(example kuzu) Note that for the C API you need both If you're using another build system it's more complicated. You need to define |
Beta Was this translation helpful? Give feedback.
-
I am using kuzu in my project and I want to use the kuzu static library instead of using dll , how do i use the static lib.
Beta Was this translation helpful? Give feedback.
All reactions