mkxp icon indicating copy to clipboard operation
mkxp copied to clipboard

Added meson build files and manifests for dlls.

Open hanetzer opened this issue 8 years ago • 3 comments

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 [email protected]

hanetzer avatar Jul 18 '17 11:07 hanetzer

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.

khkramer avatar Jul 18 '17 13:07 khkramer

@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 avatar Jul 18 '17 13:07 hanetzer

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.

hanetzer avatar Jul 28 '17 05:07 hanetzer