mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-11-10 11:54:52 -08:00
18 lines
300 B
C++
18 lines
300 B
C++
|
#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
|