wip
This commit is contained in:
parent
1e7cdffd69
commit
2172ce3da3
11
README.md
11
README.md
|
|
@ -5,9 +5,9 @@ and public headers.
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
* Ubuntu 22.04 (or equivalent)
|
* Ubuntu 22.04 (or equivalent)
|
||||||
* Additional required packages:
|
* Additional required packages:
|
||||||
* `python3-venv`
|
|
||||||
* `g++`
|
* `g++`
|
||||||
* `cmake`
|
* `cmake`
|
||||||
|
* `python3-venv`
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
1. Create a `python` virtual environment, install `conan`, and create a default profile:
|
1. Create a `python` virtual environment, install `conan`, and create a default profile:
|
||||||
|
|
@ -18,8 +18,15 @@ pip install conan
|
||||||
conan profile detect
|
conan profile detect
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build
|
## Building and running
|
||||||
1. To build, run:
|
1. To build, run:
|
||||||
```bash
|
```bash
|
||||||
./build.sh
|
./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