Generate version header when configuring project

The basic idea is we create a version header template at
"src/base/version.h.in" and the build systems are expected to replace
strings that are enclosed with @ symbols and generate
"src/base/version.h" for other source files to consume/include.
This commit is contained in:
Chocobo1 2021-01-04 15:02:13 +08:00 committed by sledgehammer999
commit 77f4e6c2cf
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2
19 changed files with 77 additions and 32 deletions

View file

@ -84,6 +84,7 @@
#include "base/utils/misc.h"
#include "base/utils/net.h"
#include "base/utils/random.h"
#include "base/version.h"
#include "bandwidthscheduler.h"
#include "common.h"
#include "customstorage.h"