Setting up C++ build system on Linux

I was developing some C++ stuff on my Linux virtual machine and wanted to create something that would make it easy for me to compile C++ code. So I wrote up some bash code and added it into .bashrc as a function. Here’s the code:

Add this to your .bashrc script and then you should be able to compile your C++ code by typing cpprun in the base directory.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.