forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
20
lib/haxerecast/Sources/Build.hx
Normal file
20
lib/haxerecast/Sources/Build.hx
Normal file
@ -0,0 +1,20 @@
|
||||
#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
|
Reference in New Issue
Block a user