Skip to content

bundling: make daemonmap buildable and bundlable alongside other tools as submodule

Thomas Debesse requested to merge illwieckz/netradiant:daemonmmap into master

This is only made to make easy to build NetRadiant packages for Windows.

Windows library management has a design issue: instead of patching binaries with rpath to set an extra library directory to look for, we have to both patch binaries with assembly information using .rc files and distributes an .xml sidecar file that lists every library to look for in that library directory.

So, making a bundle from two repositories (i.e. merging two packages) requires to merge XML files.

So I had two alternatives:

  1. write an helper to merge XML files
  2. add a submodule and extend CMakeLists.txt

I obviously chosen the second option, I don't want to spend time writing software to workaround operating system design flaw. Workaround for operating-systems better live in toolchain.

Merge request reports