|
All checks were successful
CMake / build (push) Successful in 47s
Moved source files to src/ and headers to include/. Updated CMakeLists.txt and include paths accordingly. Added and updated test files in tests/. Included generated CMake cache and compiler ID files. |
||
|---|---|---|
| .gitea/workflows | ||
| include | ||
| src | ||
| tests | ||
| .gitignore | ||
| CMakeLists.txt | ||
| README.md | ||
passwdgen
a rudimentary random string password generator
For demo purposes only
Build
Bare Bones
mkdir build
g++ -o build/passwdgen ./passwdgen.cpp
From CMAKE
mkdir build
cd build
cmake ..
make
Then, just copy the compiled binary to somewhere on your $PATH
Testing
To run the tests:
mkdir build
cd build
cmake ..
make
ctest
or directly:
./tests/passwdgen_test