# keyple-service-cpp-lib **Repository Path**: mirrors_eclipse/keyple-service-cpp-lib ## Basic Information - **Project Name**: keyple-service-cpp-lib - **Description**: Eclipse Keyple™ Project - C++ implementation: main service API for end users - **Primary Language**: Unknown - **License**: EPL-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-20 - **Last Updated**: 2026-11-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Keyple Service C++ Library ## Overview The **Keyple Service C++ Library** contains the Keyple core components. ## Documentation & Contribution Guide The full documentation, including the **user guide**, **download information** and **contribution guide**, is available on the Keyple website [keyple.org](https://keyple.org). ## API documentation API documentation & class diagram is available online: [docs.keyple.org/keyple-service-cpp-lib](https://docs.keyple.org/keyple-service-cpp-lib) ## Examples Examples of implementation are available in the following repository: [github.com/eclipse/keyple-cpp-example](https://github.com/eclipse/keyple-cpp-example) ## Building with Conan This repository is packaged as a [Conan](https://conan.io/) recipe (`conanfile.py`), providing the `Keyple::Service` CMake target as `keyple-service-cpp-lib`. It requires `keyple-common-cpp-api/2.0.2`, `keyple-plugin-cpp-api/2.3.2`, `keyple-util-cpp-lib/2.4.1`, `keypop-card-cpp-api/2.0.1` and `keypop-reader-cpp-api/2.1.0` (all declared with `transitive_headers=True`, since this library's public headers include their headers directly), resolved via Conan instead of `FetchContent`. Downstream keyple recipes should consume this package the same way, with `self.requires("keyple-service-cpp-lib/3.4.1")`. The `shared` option (default `True`) controls whether a shared or static library is built, and `fPIC` is available for static, non-Windows builds. The unit test suite is opt-in via the `with_tests` option (default `False`), so consumers of the package don't pay for compiling GoogleTest. ### Local development Use `conan build` to configure/compile in-tree, in a regular `build/` folder you can inspect, rerun and debug against (and which generates a `CMakeUserPresets.json` for IDE integration). The build type defaults to `Release`; pass `-s build_type=Debug` for a debug build, which lands in its own `build/Debug` subfolder alongside `build/Release`: ```bash # Release build, with the unit test suite, under ./build/Release conan build . -o with_tests=True --build=missing # Debug build, under ./build/Debug conan build . -o with_tests=True -s build_type=Debug --build=missing # Re-run the tests directly afterwards ./build/Release/bin/keypleservicecpplib_ut ./build/Debug/bin/keypleservicecpplib_ut ``` ### Packaging to the local cache Use `conan create` to export the recipe and package to your local Conan cache, for consumption by other recipes/repos (no remote upload involved): ```bash # Build and export the package to the local cache conan create . --build=missing # Same, but also build and run the unit test suite as part of the recipe build conan create . -o with_tests=True --build=missing # Package a static build instead (default is shared) conan create . -o shared=False --build=missing ``` ### Conan profile Builds use your default Conan profile. If you don't have one yet, create it with: ```bash conan profile detect ``` ## About the source code The code is built with **CLang / GCC / MSVC ** in order to address a wide range of applications.