#define BOB_IMPLEMENTATION
#include "bob.hpp"
const path SRC = "src";
const string CPP = "g++";
const vector<string> FLAGS = {"-Wall", "-Wextra", "-O2"};
int main(int argc, char *argv[]) {
GO_REBUILD_YOURSELF(argc, argv);
return Cmd({CPP, SRC /
"main.cpp", SRC /
"add.cpp",
"-o",
"main"})
.push_many(FLAGS)
}
Represents a command to be executed in the operating system shell.
Definition bob.hpp:287
Contains the functionality of the Bob build system.
Definition bob.hpp:47