Compare commits

..

2 Commits

Author SHA1 Message Date
ronh a7018ac419 Updates README with output from --help argument 2023-03-11 19:31:02 -06:00
ronh a804694726 Updates README with setup/build/run instructions 2023-03-11 19:24:46 -06:00
+14 -2
View File
@@ -10,7 +10,7 @@ and public headers.
* `python3-venv`
## Setup
1. Create a `python` virtual environment, install `conan`, and create a default profile:
Create a `python` virtual environment, install `conan`, and create a default profile:
```bash
python3 -m venv conan.venv
source conan.venv/bin/activate
@@ -23,10 +23,22 @@ conan profile detect
```bash
./build.sh
```
1. The build command will generate a `deb` package in the `_packages` directory. To install (to
2. 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...
3. To run:
```
$ cppchallenge
Hello World!
File name is: aname
$ cppchallenge --help
Just a simple 'hello'
Usage: cppchallenge [OPTIONS]
Options:
-h,--help Print this help message and exit
```