diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b34f76..22ab15a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,4 +3,4 @@ project(passwdgen) set(CMAKE_CXX_STANDARD 20) -add_executable(passwdgen passwdgen.cpp) \ No newline at end of file +add_executable(passwdgen passwdgen.cpp) diff --git a/README.md b/README.md index 7fb35a5..7e7dffe 100644 --- a/README.md +++ b/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