Build, Install, and Test
CMake options
| Option |
Default |
Purpose |
IKVXX_BUILD_TESTS |
ON |
Build/register iKvxx and complete upstream iKv tests |
IKVXX_INSTALL |
ON |
Generate install rules and CMake package files |
Build
Targets:
ikvxx
ikvxx::ikvxx alias for consumers
ikv / ikv::ikv underlying C library
ikvxx_tests when tests are enabled
Install and consume
Consumer project:
Configure with a custom prefix:
Tests
The registered suite contains:
- 7 separately reported iKvxx groups
- 74 upstream iKv cases
- 81 total tests at the current pinned revision
Coverage includes type behavior, all overload families, object/array mutation, malformed input, binary versions, allocation and file-failure hooks, lazy loading, refresh, and the v2 benchmark.
Windows runner
The script checks for CMake/CTest, configures, builds, enumerates all tests, runs them, and propagates failures.
Continuous integration
.gitea/workflows/bindings.yml runs on ubuntu-latest with:
- GCC Debug
- GCC Release
- Clang Debug
- Clang Release
Each job checks out submodules, builds, runs all CTest cases, and validates installation.