mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 11:00:44 -06:00
17 lines
407 B
C
17 lines
407 B
C
#ifndef GEN_VERSION_H
|
|
#define GEN_VERSION_H
|
|
#define MAJOR_VERSION 3
|
|
#define MINOR_VERSION 11
|
|
#define PATCH_VERSION 99
|
|
|
|
#define str(s) #s
|
|
#define xstr(s) str(s)
|
|
#define APP_VERSION xstr(MAJOR_VERSION) "." xstr(MINOR_VERSION) "." xstr(PATCH_VERSION)
|
|
|
|
// If it is defined by the compiler, then it is a nightly build, and in the YYYYMMDD format.
|
|
#ifndef BUILD_VERSION
|
|
#define BUILD_VERSION 0
|
|
#endif
|
|
|
|
#endif
|