Ancurio / mkxp

Free Software implementation of the Ruby Game Scripting System (RGSS)
GNU General Public License v2.0
512 stars 130 forks source link

Added meson build files and manifests for dlls. #167

Open hanetzer opened 6 years ago

hanetzer commented 6 years ago

Works, builds both native linux and cross-compiles mingw-w64 variants. Need to work out copying appropriate dlls into the mkxp runtime folder.

Follow up to #35

Signed-off-by: Marty Plummer ntzrmtthihu777@gmail.com

khkramer commented 6 years ago

Could this potentially make a static build as well? I haven't been able to make a build with cmake sofar that doesn't force me to have like 20 dll's in my game folder.

hanetzer commented 6 years ago

@khkramer yes, but would require a static build of openal, which you can't easily do at the same time as a shared (dll) build. However, I've actually added the ability to use executable manifests, which allow you to basically subdir the dlls. In the current setup, you'd copy the dlls and runtime.manifest into a subdir next to the game executable.

Depending on how the libs are compiled you may need to adjust runtime.manifest (simple xml file, easy to understand).

hanetzer commented 6 years ago

Actually, if you are going to merge this, do not do so until #168 is merged (if it is going to be merged). I'll rebase this pr if/once that happens.