Skip to content

Commit 69971ad

Browse files
committed
refactor(version): move version to common
As we will need it outside of OcreCore Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
1 parent 1070898 commit 69971ad

5 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/BuildSystemLinux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This sections describes the build-time configuration honored by samples and test
1717

1818
There are several components of the Ocre version that gets compiled in the project.
1919

20-
The file `src/ocre/version.h` includes the Ocre Library version string.
20+
The file `src/common/version.h` includes the Ocre Library version string.
2121
While the file `commit_id.h` includes the commit ID of the Ocre Library.
2222
If this file is not present in the source tree, the file is generated during the build process and is stored in the build directory.
2323
If the file does not exist, and the source tree is not a valid git repository, the build will fail.

docs/BuildSystemZephyr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ This sections describes the build-time configuration required for Ocre to work.
8181

8282
There are several components of the Ocre version that gets compiled in the project.
8383

84-
The file `src/ocre/version.h` includes the Ocre Library version string.
84+
The file `src/common/version.h` includes the Ocre Library version string.
8585
While the file `commit_id.h` includes the commit ID of the Ocre Library.
8686
If this file is not present in the source tree, the file is generated during the build process and is stored in the build directory.
8787
If the file does not exist, and the source tree is not a valid git repository, the build will fail.

docs/Versioning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
There are several components of the Ocre version that gets compiled in the project.
66

7-
The file `src/ocre/version.h` includes the Ocre Library version string.
7+
The file `src/common/version.h` includes the Ocre Library version string.
88
While the file `commit_id.h` includes the commit ID of the Ocre Library.
99
If this file is not present in the source tree, the file is generated during the build process and is stored in the build directory.
1010
If the file does not exist, and the source tree is not a valid git repository, the build will fail.

src/ocre/ocre.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include "context.h"
2525
#include "util/rm_rf.h"
2626

27-
#include "version.h"
27+
#include <ocre/version.h>
2828

2929
LOG_MODULE_REGISTER(ocre, CONFIG_OCRE_LOG_LEVEL);
3030

0 commit comments

Comments
 (0)