https://github.com/stiffstream/sobjectizer-conan-example
An example of SObjectizer usage via Conan
https://github.com/stiffstream/sobjectizer-conan-example
Last synced: 3 months ago
JSON representation
An example of SObjectizer usage via Conan
- Host: GitHub
- URL: https://github.com/stiffstream/sobjectizer-conan-example
- Owner: Stiffstream
- License: bsd-3-clause
- Created: 2018-11-15T09:34:11.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T06:52:07.000Z (over 5 years ago)
- Last Synced: 2025-05-19T14:52:25.271Z (about 1 year ago)
- Language: Dockerfile
- Size: 5.86 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This repository contains a simple example of [SObjectizer](https://stiffstream.com/en/products/sobjectizer.html) via the corresponding Conan package.
# How To Try
## Docker
The simplest way is to use Docker and Dockerfile from the repository. For example:
```bash
git clone https://github.com/Stiffstream/sobjectizer-conan-example
cd sobjectizer-conan-example
docker build -t so5-conan-example .
docker run -it so5-conan-example /bin/bash
sobjectizer-conan-example/build/bin/hello_world
exit
```
All necessary steps like installing Python, PIP, conan, CMake and so on are performed in Dockerfile. You can inspect Dockerfile content to see how conan can be configured and used.
## Manual Build
To perform manual build it is necessary to have conan and CMake installed. Then you can do the following steps:
```bash
# Clone the demo repository.
git clone https://github.com/Stiffstream/sobjectizer-conan-example
cd sobjectizer-conan-example
# Build the example.
mkdir build && cd build
conan install .. --build=missing
cmake ..
cmake --build . --config Release
# Check the example.
./bin/hello_world
```