cutefishos / core

System components and backend.
GNU General Public License v3.0
269 stars 42 forks source link

Allow user to specify custom prefix for resource files. #11

Closed cireu closed 3 years ago

cireu commented 3 years ago

This PR is successor of #9, removes all hardcoded path in build system.

There's still some hardcoded path in C++ source. IMO, there's better way to fix them, maybe add new function to search those resources(e.g. search environment variable first, then search FHS path, finally search builtin path)


Rename to file with ".in" extension. Replace hardcoded path with @CMAKE_INSTALL_FULL_XXXXX@ variables.

reionwong commented 3 years ago

Thank you for your contribution :)