Category:Build Systems

The Trivial Build System
The simplest build system is the one not requiring any software. There are several approaches.

Manual Build
Write a note in your source on how to build. Or don't, if it is obvious. // compile: g++ -oprogram -lm program.cpp

IDE Build
If you use Vim as IDE, you could specify a  in your source. Here it is done using the Universal Text Linking (UTL) URL syntax: //  A Vim user can just place the cursor on the URL and press and then type  to build. Unfortunately, the  cannot be specified using modelines, but you could use Vim Directory Environment Configuration.

Self-Contained Build Script
The source file could serve as a build script itself. Here is an example using bash as interpreter: g++ program.cpp -oprogram exit */                                                                        ... // C++ program follows here Thus, the source file is bilingual :).
 * 1) /* Compile: sh program.cpp

This could also be combined with the Vim UTL URL: g++ program.cpp -oprogram exit */                                                                        ... // C++ program follows here
 * 1) /* Compile: sh program.cpp 

or specified using Vim Directory Environment Configuration.