Make possible to do a portable build of XQF#252
Merged
Conversation
Make possible to do a portable build of XQF. - USE_RELATIVE_PREFIX: Make the executable looks around for its own files. - USE_FHS: Install files following the File Hierarchy Standard. This is how one can do a portable installation where the binaries are stored at the root of the install folder and the required data is searched next to them at run time: cmake -DUSE_RELATIVE_PREFIX=ON -DUSE_FHS=OFF It makes possible to build and distribute compiled binaries in a tarball. This relies on some code under the BSD license I copied from the Dæmon engine¹. I place the glue around under the CC0 1.0 license (public domain like). ¹ https://github.com/DaemonEngine/Daemon
Member
Author
|
This relies on some code under the BSD license I copied from the Dæmon engine. I place the glue around under the CC0 1.0 license (public domain like). |
632e46c to
fbeb680
Compare
Member
Author
|
For now there is one bug remaining, and I have no explanation for it: XQF manages to find its UI file and external images like the flag icons, but fails to load the translations. |
Member
Author
I fixed it, it was a stupid copy paste. Now everything works as expected. |
35bc6b9 to
7ceac7d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Make possible to do a portable build of XQF.
USE_RELATIVE_PREFIX: Make the executable looks around for its own files.USE_FHS: Install files following the File Hierarchy Standard.This is how one can do a portable installation where the binaries are stored at the root of the install folder and the required data is searched next to them at run time:
It makes possible to build and distribute compiled binaries in a tarball.