Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 1.14 KB

BUILD.md

File metadata and controls

24 lines (17 loc) · 1.14 KB

Preparing to build

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.

Setting up GmxGen

  1. Install Haxe (make sure to install Neko VM!)
  2. Download the source code (or check out the git repository)
  3. Compile the program: haxe build-neko.hxml
  4. Create an executable: nekotools boot bin/GmxGen.n
  5. Copy bin/GmxGen.exe to a folder in your PATH (e.g. to the Haxe directory )

Building the DLL extension

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.