Command line arguments - YAL-GameMaker-Tools/GmlCppExtFuncs GitHub Wiki
The following can be passed to the tool to adjust behaviour or output
Relative or absolute paths to files to be processed. Multiple can be specified.
A path may contain *
in a file name for simple wildcard matches (e.g. interop_test/lib_*.cpp
).
Path to the auto-generated GML file to be repopulated.
Path to the auto-generated C++ file to be repopulated.
Processes a file, but does not copy structs from it.
Changes the C++ function tag (from the default dllg
).
Make sure to define your own macro tag if you do!
Adds a line of code at the beginning of the auto-generated C++ file.
Adds a line of code at the end of the auto-generated C++ file.
Adds an #include path
to the auto-generated C++ file.
Changes how C++ structs are converted to/from GML:
- 1: always uses GML structs for C++ structs
- 0: always uses arrays for C++ structs
- auto: generates GmxGen-specific wrapper, like:
// GMS >= 2.3
struct-based code
/*/
array-based code
//*/
- Other values: uses the value as a condition, like:
// GMS >= 2.3
if (value) {
struct-based code
} else //*/
{
array-based code
}
Changes the prefix for GML functions - good to avoid name collisions between different extensions!