Commit 444b166
committed
Allow using the GetVersion.cmake file for any platform
Changes GetVersion.cmake to allow use by platforms other than generic_unix, by allowing the cmake
include of version.cmake before including GetVersion.cmake on other platforms.
Fix version reporting for ESP32 builds when executing mkimage.sh by including the
AtomVM/version.cmake and AtomVM/CMakeModules/GetVersion.cmake files to be able to get the correct
version number when reporting build information during build/mkimage.sh execution.
Signed-off-by: Winford <[email protected]>1 parent 68046e7 commit 444b166
File tree
2 files changed
+6
-2
lines changed- CMakeModules
- src/platforms/esp32/tools
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| |||
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
65 | | - | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
0 commit comments