JohnItoo / folly-conan-example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Folly and Conan Sample

How To Try

Docker

The simplest way is to use Docker and Dockerfile from the repository. For example:

git clone https://github.com/JohnItoo/folly-conan-example
cd folly-conan-example
docker build -t myfolly-conan-example .
docker run -it myfolly-conan-example /bin/bash
folly-conan-example/build/bin/sample
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:

# Clone the demo repository.
git clone https://github.com/JohnItoo/folly-conan-example
cd folly-conan-example
# Build the example.
mkdir build && cd build
conan install .. --build=missing
cmake ..
cmake --build . --config Release
# Check the example.
./bin/sample

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Dockerfile 49.0%Language:CMake 27.4%Language:C++ 23.7%