This is a small script and C++ build template suitable for small programming challenges or proofs of concept.
Requirements:
llvm
coc-clangd
bear
gnu make
- To create a new file from the template:
$ make new f=xyz.cpp
New file "xyz.cpp" created from template
- To compile the file
$ ./build xyz.cpp
Compiling xyz.cpp...
Executable "xyz" built without errors
- Running the binary:
$ ./xyz
OK
- Clearing out the workspace
$ make clean
All *.cpp files are removed from the workspace
© 2020-2021 Damien Stanton
See LICENSE for details.