Ahoj,
I want to make a package of this for Arch Linux (to use it as a (build time) dependency for other projects, that not each project has to follow the "dirty" habit of pulling in the source on it's own).
I see that -DCMAKE_INSTALL_PREFIX=/usr installs the executables directly unter /usr, and the assets under /usr/assets and so on. Not suitable for packaging.
Can you make an option to install in a way following Linux filesystem conventions?:
- Executables into
[prefix]/bin/
- Assets into
[prefix]/share/hello_imgui/
- Libraries into
[prefix]/lib/ or [prefix]/lib/hello_imgui/
- Include files into
[prefix]/include/ or [prefix]/include/hello_imgui/
- CMake files into
[prefix]/share/cmake/hello_imgui/
- Documentation into
[prefix]/share/doc/hello_imgui/
- Example executables maybe also into
[prefix]/share/doc/hello_imgui/examples/ or so
- Man pages into
[prefix]/share/man/man[#]/
etc.
Like HDRView did introduce in this commit, following a note in this issue.
Regards!
Ahoj,
I want to make a package of this for Arch Linux (to use it as a (build time) dependency for other projects, that not each project has to follow the "dirty" habit of pulling in the source on it's own).
I see that
-DCMAKE_INSTALL_PREFIX=/usrinstalls the executables directly unter/usr, and the assets under/usr/assetsand so on. Not suitable for packaging.Can you make an option to install in a way following Linux filesystem conventions?:
[prefix]/bin/[prefix]/share/hello_imgui/[prefix]/lib/or[prefix]/lib/hello_imgui/[prefix]/include/or[prefix]/include/hello_imgui/[prefix]/share/cmake/hello_imgui/[prefix]/share/doc/hello_imgui/[prefix]/share/doc/hello_imgui/examples/or so[prefix]/share/man/man[#]/etc.
Like
HDRViewdid introduce in this commit, following a note in this issue.Regards!