diff options
| author | th-2021 <90853655+th-2021@users.noreply.github.com> | 2022-10-04 01:13:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-04 01:13:29 +0200 |
| commit | f1070a2e74716b3e475fc4e78a7edf3f7dac0aa2 (patch) | |
| tree | 3b775cadea2814a2b723a6f154b961bf02b93808 /soh/src | |
| parent | 02c0caff4fff3ab922e844ccd0fb875f163df2d7 (diff) | |
set version in build.c from CmakeLists.txt version info (#1678)
Diffstat (limited to 'soh/src')
| -rw-r--r-- | soh/src/boot/build.c | 4 | ||||
| -rw-r--r-- | soh/src/boot/build.c.in | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/soh/src/boot/build.c b/soh/src/boot/build.c deleted file mode 100644 index 0fb6d64ad..000000000 --- a/soh/src/boot/build.c +++ /dev/null @@ -1,4 +0,0 @@ -const char gBuildVersion[] = "ZHORA BRAVO (4.0.1)"; -const char gBuildTeam[] = "github.com/harbourmasters"; -const char gBuildDate[] = __DATE__ " " __TIME__; -const char gBuildMakeOption[] = ""; diff --git a/soh/src/boot/build.c.in b/soh/src/boot/build.c.in new file mode 100644 index 000000000..6bf50e39f --- /dev/null +++ b/soh/src/boot/build.c.in @@ -0,0 +1,5 @@ +const char gBuildVersion[] = "@PROJECT_BUILD_NAME@ (@CMAKE_PROJECT_VERSION_MAJOR@.@CMAKE_PROJECT_VERSION_MINOR@.@CMAKE_PROJECT_VERSION_PATCH@)"; +const char gBuildTeam[] = "@PROJECT_TEAM@"; +const char gBuildDate[] = __DATE__ " " __TIME__; +const char gBuildMakeOption[] = ""; + |
