# Installation

> Build the static library from a checkout; the C++ headers sit over it and need nothing else.

`#include <ucall/types.hpp>` 1.0.0-rc.1 · b7577426

Build the static library from a checkout; the C++ headers sit over it and need nothing else:

```sh
cmake -B build_release -D CMAKE_BUILD_TYPE=Release
cmake --build build_release --target ucall_static
```

The C++ interface is header-only over the C one: `cpp/ucall/*.hpp` include only `c/ucall/*.h` and the standard library, and a program links `ucall_static`. In CMake, link `ucall::cpp`, which carries the C headers of `ucall::abi` and the archive `ucall::static`, and which `find_package(ucall)` names once installed, or add the repository as a subdirectory. It needs a C++23 compiler: GCC 15, Clang 22 with libstdc++ 15 or libc++ 22, Xcode 26 or VS 2026. It throws nothing. The library picks its I/O backend and CPU kernels when a server or client starts, so one build adapts to the kernel and CPU it runs on.

## API

### Functions

#### `version_name`

The linked library's version, a release-candidate suffix included.

[types.hpp:337 ↗](https://github.com/unum-cloud/UCall/blob/b75774266a108d8a1b1a6db1489f8a7141c556df/cpp/ucall/types.hpp#L337)

```cpp
std::string_view version_name() noexcept;
```
