diff options
| author | Marcos Magueta <maguetamarcos@gmail.com> | 2024-10-26 14:26:10 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-26 14:26:10 -0300 |
| commit | 2eab114a120c7818861c0640ecdc300cf7366e53 (patch) | |
| tree | beb69c7038d79d8ca77d072d6f3afb144b5ff891 /shared/librelational_engine/CMakeLists.txt | |
| parent | da309e886e31e6d55e46339647d56769d417114e (diff) | |
| download | Sakura-2eab114a120c7818861c0640ecdc300cf7366e53.tar.gz Sakura-2eab114a120c7818861c0640ecdc300cf7366e53.zip | |
Basic storage with C interop (#1)
* writer command design
* dune build with shared core lib
* port c lib project inside ocaml
* os specific dynamic link
* fix project name on flake
* fix: cmake cxx version breaking merklecpp
* finish write to disk and update maps func
* add non atomic commit to transaction graph
* merkle tree binding for generating root hash
* disk module refactor
---------
Co-authored-by: Renan Lopes <renans.l@icloud.com>
Diffstat (limited to '')
| -rw-r--r-- | shared/librelational_engine/CMakeLists.txt (renamed from CMakeLists.txt) | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/CMakeLists.txt b/shared/librelational_engine/CMakeLists.txt index 98dbfc4..d22d0d0 100644 --- a/CMakeLists.txt +++ b/shared/librelational_engine/CMakeLists.txt @@ -1,16 +1,12 @@ cmake_minimum_required(VERSION 3.29) -project(relational_engine_ocaml) - -set(CMAKE_CXX_STANDARD 20) +project(relational_engine) include_directories($ENV{LIBRESSL_INCLUDE_PATH}) include_directories($ENV{MERKLECPP_INCLUDE_PATH}) -include_directories($ENV{CAML_INCLUDE_PATH}) -add_library(relational_engine_ocaml STATIC - lib/merklecpp_stubs.cpp) +add_library(relational_engine SHARED library.cpp) -target_link_libraries(relational_engine_ocaml +target_link_libraries(relational_engine $ENV{LIBRESSL_LIB_PATH}/libssl.$ENV{OS_LIB_EXTENSION} $ENV{LIBRESSL_LIB_PATH}/libcrypto.$ENV{OS_LIB_EXTENSION} )
\ No newline at end of file |
