forked from LeenkxTeam/LNXSDK
		
	
		
			
	
	
		
			20 lines
		
	
	
		
			378 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
		
		
			
		
	
	
			20 lines
		
	
	
		
			378 B
		
	
	
	
		
			Haxe
		
	
	
	
	
	
|  | #if !macro | ||
|  | private typedef Import = haxe.macro.MacroType<[Build.build()]>; | ||
|  | #else | ||
|  | 
 | ||
|  | class Build { | ||
|  | 
 | ||
|  | 	static var config : webidl.Options = { | ||
|  | 		idlFile : "./recast/recast.idl", | ||
|  | 		nativeLib : "recast", | ||
|  | 		includeCode : "#include \"recastjs.h\"", | ||
|  | 		autoGC : false, | ||
|  | 		outputDir : "../build/", | ||
|  | 	}; | ||
|  | 
 | ||
|  | 	public static function buildLibCpp() { | ||
|  | 		webidl.Generate.generateCpp(config); | ||
|  | 	} | ||
|  | } | ||
|  | 
 | ||
|  | #end |