forked from blurstudio/Py3dsMax
-
Notifications
You must be signed in to change notification settings - Fork 0
/
version_h_template.txt
28 lines (20 loc) · 1.07 KB
/
version_h_template.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
Versioning is handled through a couple of files and a pre-build event
to allow svn revision numbers to automatically be included/incremented.
version.h: this is an auto-generated file with the build date and svn
revision number of the project.It is included throughout the project
to get the version and build info it defines.
version_h_template.txt: Template used when building version.h
buildVersion.py: Uses "git describe --long" to generate the major, minor,
patch, and revision values used by version_h_template.txt and generates
the version.h file used when compiling. This is called in a pre-build
event.
Git tags: Git tags should always follow this format. v[major].[minor].[patch]
replacing the contents of each [] with a version number.
*/
#define BLURPYTHON_VERSION_MAJOR {major}
#define BLURPYTHON_VERSION_MINOR {minor}
#define BLURPYTHON_VERSION_PATCH {patch}
#define BLURPYTHON_VERSION_REV {revCount}
#define BLURPYTHON_VERSION_STR "{major},{minor},{patch},{revCount}-{rev}"
#define BLURPYTHON_BUILDDATE "{datetime}"