Static build: fully static versiond-cli + docs
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
# Install versioningcpp
|
||||
|
||||
Requirements: CMake >= 3.20, C++20 compiler (GCC 11+ or Clang 14+), SQLite3 dev, OpenSSL libcrypto.
|
||||
|
||||
Debian/Ubuntu:
|
||||
```sh
|
||||
sudo apt install cmake g++ libsqlite3-dev libssl-dev
|
||||
```
|
||||
|
||||
Build:
|
||||
```sh
|
||||
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build build -j
|
||||
```
|
||||
|
||||
Artifacts: `build/versiond-cli`, `build/versiond-tests`, `build/libversiond.a`
|
||||
|
||||
Test:
|
||||
```sh
|
||||
ctest --test-dir build -V
|
||||
./build/versiond-tests
|
||||
```
|
||||
|
||||
Run:
|
||||
```sh
|
||||
./build/versiond-cli --help
|
||||
```
|
||||
|
||||
See also: README.md, INSTALL.md, CLI.md, PLAN.md, REGISTRY.md, AGENTS.md, skills/versiond-admin/SKILL.md.
|
||||
Reference in New Issue
Block a user