HandmadeHero/project/codegen/platform_gen.cpp
Ed_ a52f6efbff Adjusted build staging so that engine post-build codgen wont occur when process is running
+ some refactoring as what I was doing didn't correlate to platform so I associate it with the engine module proper now.
2023-09-28 21:21:05 -04:00

18 lines
401 B
C++

#if GEN_TIME
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
#define GEN_IMPLEMENTATION
#define GEN_BENCHMARK
#define GEN_ENFORCE_STRONG_CODE_TYPES
#include "dependencies/gen.hpp"
using namespace gen;
int gen_main()
{
gen::init();
log_fmt("Generating code for Handmade Hero: Platform Module\n");
log_fmt("Generaton finished for Handmade Hero: Platform Module\n");
// gen::deinit();
return 0;
}
#endif