Define MAMICO_COMMIT_HASH at build time, not at configure time#128
Define MAMICO_COMMIT_HASH at build time, not at configure time#128
Conversation
|
Sufficient test coverage for changed files. |
|
Very good idea! 👍 However, this is a lot of code for something very simple. It looks fragile (might not work on system X for surprising reason Y) due to its complexity. Is there really no simpler way? |
This is actually the simplest way to do it. This should really work on any system:
|
|
OK! Please test it on at least 3-4 different machines - if it works then it is approved :-) (For me it works fine) |
|
Tested on:
This should be enough. 😉 Footnotes
|
Avoids mismatch between version info and actual repo state. (Part of #125)