HandmadeHero/project/codegen/handmade_engine_gen.cpp
Ed_ 2f6e60d472 symbols for engine module are now generated into a header
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.
2023-09-28 20:22:15 -04:00

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