init
This commit is contained in:
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
[submodule "vendor/blackbase"]
|
||||
path = vendor/blackbase
|
||||
url = https://git.slayercio.space/slayercio/blackbase
|
||||
23
CMakeLists.txt
Normal file
23
CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 4.0)
|
||||
project(native_invoker_lib VERSION 1.0.0 LANGUAGES CXX)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 23)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
file(GLOB_RECURSE NATIVE_INVOKER_SOURCES
|
||||
src/*.cpp
|
||||
)
|
||||
|
||||
add_library(native_invoker_lib SHARED ${NATIVE_INVOKER_SOURCES})
|
||||
target_include_directories(native_invoker_lib
|
||||
PUBLIC
|
||||
include
|
||||
PRIVATE
|
||||
src
|
||||
)
|
||||
|
||||
set(BLACKBASE_BUILD_TESTS OFF CACHE BOOL "Disable building tests for blackbase")
|
||||
add_subdirectory(vendor/blackbase)
|
||||
|
||||
target_link_libraries(native_invoker_lib PUBLIC blackbase)
|
||||
1
vendor/blackbase
vendored
Submodule
1
vendor/blackbase
vendored
Submodule
Submodule vendor/blackbase added at 55d97f6b68
Reference in New Issue
Block a user