mirror of
https://github.com/MaidFoundation/maid.git
synced 2023-12-01 22:17:36 +03:00
refactor
This commit is contained in:
4
.gitmodules
vendored
4
.gitmodules
vendored
@@ -1,4 +1,4 @@
|
||||
[submodule "lib/core/llama.cpp"]
|
||||
path = lib/core/llama.cpp
|
||||
[submodule "core/llama.cpp"]
|
||||
path = core/llama.cpp
|
||||
url = https://github.com/ggerganov/llama.cpp.git
|
||||
branch = master
|
||||
|
||||
@@ -90,7 +90,7 @@ android {
|
||||
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
path "../../lib/core/CMakeLists.txt"
|
||||
path "../../core/CMakeLists.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,5 +137,5 @@ if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
|
||||
COMPONENT Runtime)
|
||||
endif()
|
||||
|
||||
add_subdirectory(../lib/core core)
|
||||
add_subdirectory(../core core)
|
||||
install(FILES ${PROJECT_BINARY_DIR}/bin/libcore.so DESTINATION "${INSTALL_BUNDLE_LIB_DIR}" COMPONENT Runtime)
|
||||
|
||||
@@ -61,7 +61,7 @@ ffigen:
|
||||
output: lib/core/bindings.dart
|
||||
headers:
|
||||
entry-points:
|
||||
- "lib/core/core.h"
|
||||
- "core/core.h"
|
||||
# The following section is specific to Flutter packages.
|
||||
flutter:
|
||||
|
||||
|
||||
@@ -104,5 +104,5 @@ install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
|
||||
set(CMAKE_INSTALL_BINDIR ${BUILD_BUNDLE_DIR})
|
||||
|
||||
# Build the core library.
|
||||
add_subdirectory(../lib/core core)
|
||||
add_subdirectory(../core core)
|
||||
install(FILES ${PROJECT_BINARY_DIR}/core/Release/core.dll DESTINATION ${BUILD_BUNDLE_DIR})
|
||||
Reference in New Issue
Block a user