Commit 2e01288
committed
cmake: gen_version_h: add commit hash as integer
Include the first 32 bits of the git commit hash into the generated
version files in integer form. This can be an easier form to work with
than the `APP_BUILD_VERSION` define, which includes a superset of the
same information but in string form.
Signed-off-by: Jordan Yates <[email protected]>1 parent 634cd72 commit 2e01288
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments