8 stable releases
2.1.4 | Oct 11, 2023 |
---|---|
2.1.1 | Aug 4, 2023 |
2.1.0 | Jul 29, 2023 |
1.0.3 | May 30, 2023 |
#1083 in Command line utilities
9KB
98 lines
Sam's C/C++ Project MaKer
Generate a simple C/C++ project with a CMake configuration.
Usage: cpmk -l <LANGUAGE> -p <PROJECT_NAME>
Variant: cpmk --language <LANGUAGE> --project_name <PROJECT_NAME>
Example C:
cpmk -l c -p c-project
Example C++:
cpmk -l cpp -p cpp-project
or
cpmk -l cc -p cpp-project
Install
Requires Cargo/Rust
Simply run
cargo install cpmk
Uninstall
Simply run
cargo uninstall cpmk
Built in Rust btw
Dependencies
~1.1–1.7MB
~31K SLoC