Setup proper project skeleton with 2 stage build

This commit is contained in:
2023-09-08 15:14:09 -04:00
parent 60e7d1075a
commit 0376a22775
6 changed files with 234 additions and 180 deletions

View File

@ -0,0 +1,17 @@
#if GEN_TIME
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
#define GEN_IMPLEMENTATION
#define GEN_BENCHMARK
#define GEN_ENFORCE_STRONG_CODE_TYPES
#include "gen.hpp"
using namespace gen;
int gen_main()
{
gen::init();
log_fmt("Generating code for Handmade Hero\n");
gen::deinit();
return 0;
}
#endif