Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 636 Bytes

README.md

File metadata and controls

45 lines (32 loc) · 636 Bytes

cxx

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

Usage

  • 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.