To package caveexpress, cavepacker and miniracer without having to rebuild the whole engine three times, a CMake option coupled with a C++ macro would be useful so that PKGDATADIR can be defined to /usr/share/games, and the full path to the game's data would be generated at runtime as done in this Debian patch (from @apoleon): https://sources.debian.net/src/caveexpress/2.4%2Bgit20160609-2/debian/patches/dataDir.patch
I'm raising this issue to have your opinion about this instead of providing a patch myself, as you might have an idea about how to make this while fitting your current design.
To package caveexpress, cavepacker and miniracer without having to rebuild the whole engine three times, a CMake option coupled with a C++ macro would be useful so that PKGDATADIR can be defined to
/usr/share/games
, and the full path to the game's data would be generated at runtime as done in this Debian patch (from @apoleon): https://sources.debian.net/src/caveexpress/2.4%2Bgit20160609-2/debian/patches/dataDir.patchI'm raising this issue to have your opinion about this instead of providing a patch myself, as you might have an idea about how to make this while fitting your current design.