-
Notifications
You must be signed in to change notification settings - Fork 0
How it works
Konstantin Tomashevich edited this page Jun 17, 2017
·
2 revisions
-
ASBindGen
loads submodules, such as util functions. -
ASBindGen
loads bindables. -
ASBindGen
loads configuration from specified configuration file.
-
ASBindGen
parses all input files, specified in configuration file. Parser uses command-comments, such as//@ASBindGen Function
or//@ASBindGen Class
. If any parsing error occurred,ASBindGen
will exit. -
ASBindGen
applies binding arguments to bindables. -
ASBindGen
prints all bindables.
Note: ASBindGen
expect that file will be accessable as ${pathPrefix}/${projectDir}/${filePath}
, where filePath
is specified in files list.
-
ASBindGen
prints list of files, which will be writen. -
ASBindGen
writes main bindings C++ object, which functions simply call all bindables registrators. -
ASBindGen
writes main bindings header. -
ASBindGen
writes bindings headers, for each header it:- Writes includes, which are required by bindables. Replaces
//@ASBindGen WriteIncludes
in template file. - Writes bindables wrappers if needed, then write bindables registrators. Replaces
//@ASBindGen WriteBody
in template file.
- Writes includes, which are required by bindables. Replaces
Note: ASBindGen
writes project internal includes as #include <${projectDir}/${includePath}>
.