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.exe
to 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.