mirror of
https://github.com/Ed94/HandmadeHero.git
synced 2024-11-10 03:44:53 -08:00
Ed_
2f6e60d472
Started to to use gencpp to codegen. Now instead of loading the symbol table file made by the build script I can just have it get directly compiled.
22 lines
389 B
C++
22 lines
389 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: Engine Module\n");
|
|
|
|
|
|
|
|
log_fmt("Generaton finished for Handmade Hero: Engine Module\n");
|
|
// gen::deinit();
|
|
return 0;
|
|
}
|
|
#endif
|
|
|