Add FLAX_BUILD_BINDINGS define for Scripting API parser to be used if needed
This commit is contained in:
@@ -218,6 +218,7 @@ namespace Flax.Build.Bindings
|
|||||||
ScopeAccessStack = new Stack<AccessLevel>(),
|
ScopeAccessStack = new Stack<AccessLevel>(),
|
||||||
PreprocessorDefines = new Dictionary<string, string>(),
|
PreprocessorDefines = new Dictionary<string, string>(),
|
||||||
};
|
};
|
||||||
|
context.PreprocessorDefines.Add("FLAX_BUILD_BINDINGS", "1");
|
||||||
context.EnterScope(fileInfo);
|
context.EnterScope(fileInfo);
|
||||||
|
|
||||||
// Process the source code
|
// Process the source code
|
||||||
|
|||||||
Reference in New Issue
Block a user