cpp-challenge/README.md

610 B

A basic C++ exercise which uses conan to satisfy dependencies before building a shared library and an executable that links it. Also produces a .deb package which installs the executable, library, and public headers.

Prerequisites

  • Ubuntu 22.04 (or equivalent)
  • Additional required packages:
    • python3-venv
    • g++
    • cmake

Setup

  1. Create a python virtual environment, install conan, and create a default profile:
python3 -m venv conan.venv
source conan.venv/bin/activate
pip install conan
conan profile detect

Build

  1. To build, run:
./build.sh