mirror of
				https://github.com/Ed94/HandmadeHero.git
				synced 2025-10-31 06:50:54 -07:00 
			
		
		
		
	Setup proper project skeleton with 2 stage build
This commit is contained in:
		
							
								
								
									
										17
									
								
								project/gen/gen_handmade.cpp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								project/gen/gen_handmade.cpp
									
									
									
									
									
										Normal 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 | ||||
		Reference in New Issue
	
	Block a user