bash
xmake f -m release
xmake --build --all
xmake install --all
bash
cmake -S . -B build
cmake --build build
cmake --install build
bash
cmake -S . -B build -DENABLE_VCPKG=ON
bash
cp -r build/vcpkg/* $VCPKG_INSTALLATION_ROOT
pwsh
cp -r -Force build/vcpkg/* $ENV:VCPKG_INSTALLATION_ROOT
bash
conan create .
bash
cargo build --release
bash
python setup.py build_ext --inplace
bash
python setup.py bdist_wheel
lua
add_requires("a")
cmake
find_package(liba CONFIG REQUIRED)
target_link_libraries(<TARGET> PRIVATE liba::a)
txt
[requires]
liba/[~0.1]
lua
local a = require("liba")
print("version", a.version())
java
import liba.ac;
import liba.ax;
toml
[build-dependencies]
liba = "*"
rs
use liba;
fn main() {
println!("version {}", liba::version());
}
py
import libac
print("version", libac.version())
import libax
print("version", libax.version())
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/.