(Now with source code, thanks to Cherry)
- Install CMake (Windows win64-x64 Installer, v3.10 or higher)
- Install Doxygen (Windows x64 Installer, latest)
- Get a version of GCC:
- 7.3.0 (safe/easiest to install)
- 10.2.0+ via MSYS2 (install
mingw-w64-i686-toolchain
package)
- Check Compiler paths:
7.3.0
: Extract to C:\mingw32 (should see bin/lib/etc)10.2.0+
: Should have C:\msys64\mingw32 once installed & the package has been added
- Open
build_mingw.bat
and change MINGW_PATH if necessary - Run
build_mingw.bat
. It should complete withlib/libDynRPG.a
- Create plugins as usual. Link against
lib/libDynRPG.a
in each plugin, and make sure the same compiler is used each time.
DYNRPG_SHARED
: Set toON
to build as a shared library,OFF
to build as a static libraryDYNRPG_BUILD_DOCS
: Set toON
to build the documentation (requires Doxygen),OFF
to not build it
- Follow steps 1-4 above
- Open the folder in VS Code
- Run the build task (this just calls the batch file anyway)