add build instructions to the readme
This commit is contained in:
parent
fe2e42a3f2
commit
7a582b216e
@ -3,4 +3,4 @@ project(passwdgen)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 20)
|
||||
|
||||
add_executable(passwdgen passwdgen.cpp)
|
||||
add_executable(passwdgen passwdgen.cpp)
|
||||
|
18
README.md
18
README.md
@ -2,3 +2,21 @@
|
||||
### a rudimentary random string password generator
|
||||
|
||||
For demo purposes only
|
||||
|
||||
## Build
|
||||
|
||||
**Bare Bones**
|
||||
```bash
|
||||
mkdir build
|
||||
g++ -o build/passwdgen ./passwdgen.cpp
|
||||
```
|
||||
|
||||
**From CMAKE**
|
||||
```bash
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
```
|
||||
|
||||
Then, just copy the compiled binary to somewhere on your $PATH
|
||||
|
Loading…
Reference in New Issue
Block a user