liba-0.1.4-rc.0 has been yanked.
An algorithm library {#mainpage}
documentation
required tools
optional tools
build
xmake
cmake
meson
vcpkg
cp -r -Force build/vcpkg/* $ENV:VCPKG_INSTALLATION_ROOT
conan
cargo
cython
usage
C/C++
xmake.lua
add_requires -- static
add_requires -- shared
CMakeLists.txt
find_package(liba CONFIG REQUIRED)
target_link_libraries(<TARGET> PRIVATE alib) # static
target_link_libraries(<TARGET> PRIVATE liba) # shared
conanfile.txt
[requires]
liba/[~0.1]
Lua
local liba = require
print
Java
Rust
Cargo.toml
[]
= { = "https://github.com/tqfx/liba.git" }
main.rs
use liba;
Python
main.py
JavaScript
index.js
import liba from "@tqfx/liba";
console.log
QuickJS
main.js
import * as liba from "liba.so";
console.log
Copyright {#copyright}
Copyright (C) 2020-present tqfx, All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.