Compare commits
No commits in common. "2172ce3da3337f7a3f6cf5c0e0a0810b176cd3b0" and "7a2e60d877950387548a856612c3c50f194a6791" have entirely different histories.
2172ce3da3
...
7a2e60d877
22
README.md
22
README.md
|
|
@ -4,29 +4,11 @@ and public headers.
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
* Ubuntu 22.04 (or equivalent)
|
* Ubuntu 22.04 (or equivalent)
|
||||||
* Additional required packages:
|
* Python3 venv support installed (i.e. `sudo apt install python3-venv`)
|
||||||
* `g++`
|
|
||||||
* `cmake`
|
|
||||||
* `python3-venv`
|
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
1. Create a `python` virtual environment, install `conan`, and create a default profile:
|
Create a `python` virtual environment and install `conan`:
|
||||||
```bash
|
```bash
|
||||||
python3 -m venv conan.venv
|
python3 -m venv conan.venv
|
||||||
source conan.venv/bin/activate
|
source conan.venv/bin/activate
|
||||||
pip install conan
|
|
||||||
conan profile detect
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Building and running
|
|
||||||
1. To build, run:
|
|
||||||
```bash
|
|
||||||
./build.sh
|
|
||||||
```
|
|
||||||
1. The build command will generate a `deb` package in the `_packages` directory. To install (to
|
|
||||||
`/usr/local`) run:
|
|
||||||
```
|
|
||||||
sudo dpkg -i _packages/_packages/cppchallenge_1.0.0_*.deb
|
|
||||||
sudo ldconfig
|
|
||||||
```
|
|
||||||
__TODO__: The `sudo ldconfig` step should be added to the `deb` package `postinst` step...
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue