Building Grail Plugin
The plugin is provided with the full source code of the Grail framework and Win64 pre-built binaries (ReleaseWithDebugInfo target). For all other platforms and targets, the plugin has to be built manually.
Prerequisites
-
CMake has to be installed and be present in PATH (This can be done during installation)
-
Ninja has to be downloaded (does not require installation) and be present in PATH. Unlike CMake this has to be done manually. Simplest way to do that is here. Remember to add the ninja binary to PATH, not the directory.
Build Process
To build the plugin, simply build Unreal Engine’s project for the required platform and target configuration. If you need to build Grail for the default Editor configuration, generate project files as you normally would.
If you encounter any errors during file generation, check the <project_directory>/Saved/Logs/UnrealVersionSelector-<date> for the compilation log. |
Build Configuration
Default build configuration for Grail Plugin is provided in the Grail.Build.cs build script. Any user modification must be made there keeping in mind which Unreal targets can be linked against which target of Grail.
UnrealTargetConfiguration | CMake configuration for Grail |
---|---|
Debug |
Debug |
Shipping |
Release |
Other |
RelWithDebInfo |