bob.hpp
Loading...
Searching...
No Matches
minimal/bob.cpp
#define BOB_IMPLEMENTATION
#include "bob.hpp"
using namespace bob;
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); // Recompile if the source files have changed
return Cmd({CPP, SRC / "main.cpp", SRC / "add.cpp", "-o", "main"})
.push_many(FLAGS)
.run();
}
Represents a command to be executed in the operating system shell.
Definition bob.hpp:287
int run()
Contains the functionality of the Bob build system.
Definition bob.hpp:47