Refer to upstream README for an introduction to Matplot++.
This adds a CMake preset named plugin
to CMakePresets.json
for building Maplot++ for use in an Unreal Engine plugin on Windows. The preset prevents mismatches in build type/architecture/toolset/platform between Matplot++ and Unreal Engine that cause MSB8013 and LINK errors when building the Unreal Engine project.
Update the generator, toolset, and target platform specified in the plugin
preset to match what your Unreal Engine version is using. You can then build Matplot++ with the command:
cmake --preset "plugin"
cmake --build --preset "plugin"
and use in Unreal Engine via a third-party plugin.