baldr 0.2.2

Convenience tool for building and running C++ code.
Documentation
#include <cstdlib>
#include <iostream>

#define STRINGIFY(x) #x
#define TOSTRING(x) STRINGIFY(x)

int main(int argc, char* args[]) {
    std::cout << "Arguments: ";

    for (int i = 1; i < argc; ++i) {
        std::cout << args[i] << ' ';
    }

    std::cout << '\n';

    std::cout << "Defines: ";
    #ifdef DEFINE1
    std::cout << TOSTRING(DEFINE1) << ' ';
    #endif

    #ifdef DEFINE2
    std::cout << TOSTRING(DEFINE2) << ' ';
    #endif

    std::cout << '\n';

    if (argc == 2) {
        return std::stoi(args[1]);
    }

    return EXIT_SUCCESS;
}