An algorithm library based on C/C++ language
Project description
An algorithm library {#mainpage}
required tools
optional tools
build
xmake
xmake f -m release
xmake --build --all
xmake install --all
cmake
cmake -S . -B build
cmake --build build
cmake --install build
vcpkg
cmake -S . -B build -DENABLE_VCPKG=ON
cp -r build/vcpkg/* $VCPKG_INSTALLATION_ROOT
cp -r -Force build/vcpkg/* $ENV:VCPKG_INSTALLATION_ROOT
conan
conan create .
cargo
cargo build --release
cython
python setup.py build_ext --inplace
wheel
python setup.py bdist_wheel
usage
C/C++
xmake.lua
add_requires("a")
CMakeLists.txt
find_package(liba CONFIG REQUIRED)
target_link_libraries(<TARGET> PRIVATE liba::a)
conanfile.txt
[requires]
liba/[~0.1]
Lua
local a = require("liba")
print("version", a.version())
Java
import liba.a;
Rust
Cargo.toml
[dependencies]
liba = { git = "https://github.com/tqfx/liba.git" }
main.rs
use liba;
fn main() {
println!("version {}", liba::version());
}
Python
import liba
print("version", liba.version())
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/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
liba-0.1.1rc2.tar.gz
(168.3 kB
view hashes)