Skip to content
/ cxx Public template

Self contained C++ file starter and build script

License

Notifications You must be signed in to change notification settings

damienstanton/cxx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Self contained C++ file starter and build script

Topics

Resources

License

Stars

Watchers

Forks