<cahute/config.h>
– Cahute configuration details¶
This header declares configuration values for Cahute.
Macro definitions¶
-
CAHUTE_VERSION¶
Cahute version, as a string, e.g.
"28.13"
.
-
CAHUTE_VERNUM¶
Cahute version, as a hexadecimal number with the following mask:
0xMMmm0000
Where:
MM
is the major version in hexadecimal, e.g.1c
for major version 28;mm
is the minor version in hexadecimal, e.g.0d
for minor version 13.
-
CAHUTE_MAJOR¶
Cahute major version.
-
CAHUTE_MINOR¶
Cahute minor version.
-
CAHUTE_URL¶
Homepage URL for the Cahute project.
-
CAHUTE_ISSUES_URL¶
Bug report URL for the Cahute project.
-
CAHUTE_GIT_COMMIT¶
(Optional) Current git commit for the repository, as a string, e.g.
f1e3623ee60687c59400e2fa876dfc667d69b592
.
-
CAHUTE_GIT_BRANCH¶
(Optional) Current git branch for the repository, as a string, e.g.
develop
orfeat/hello-world
.
-
CAHUTE_GIT_TAGGED¶
(Optional) Whether a tag is positioned on the current git commit with the current version, as an integer set to
0
or1
.For example, if
CAHUTE_VERSION
is set to"0.5"
and the0.5
tag is currently present and positioned on the current git commit, this is set to1
.
-
CAHUTE_GIT_DIRTY¶
(Optional) Whether uncommitted changes are present on top of the current git commit for the repository.