Needless to say, this requires basic familiarity with Visual Studio, Command Prompt/PowerShell, and Windows in general.
Note: Both GmxGen and GmlCppExtFuncs are already set up in the VS solution so these steps are enough - you do not have to follow build-setup instructions from the repositories' READMEs.
- Install Haxe (make sure to install Neko VM!)
- Download the source code (or check out the git repository)
- Compile the program:
haxe build-neko.hxml - Create an executable:
nekotools boot bin/GmxGen.n - Copy
bin/GmxGen.exeto a folder in your PATH (e.g. to the Haxe directory )
- (you should still have Haxe and Neko VM installed)
- Download the source code (or check out the git repository)
- Compile the program:
haxe build.hxml - Create an executable:
nekotools boot bin/GmlCppExtFuncs.n - Copy
bin/GmlCppExtFuncs.exeto a folder in your PATH (e.g. to the Haxe directory )
Open the .sln in Visual Studio (VS2019 was used as of writing this), compile for x86 - Release and then x64 - Release.
If you have correctly set up GmxGen and GmlCppExtFuncs,
the project will generate the autogen.gml files for GML<->C++ interop during pre-build
and will copy and [re-]link files during post-build.
Run build_linux.sh in native_cursor directory.
This will place the updated .so in the GM project folder.
Do haxe build.hxml in the project directory.
Updated .js will be placed in the GM project folder.