Embed resources in the library to allow relocatable install
Opened this issue · 1 comments
traversaro commented
To ensure relocatability, the best option may be to embed the data contained in the mustache templates in the library itself. This can be done in several ways:
- CMakeRC - https://github.com/vector-of-bool/cmrc
- Upcoming:
std::embed
- http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1040r0.html
traversaro commented
CMakeRC
seems to be quite clean and lean.