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
parent 04a9ce6e81
commit c669401767
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
19 changed files with 77 additions and 32 deletions

1
.gitignore vendored
View file

@ -4,6 +4,7 @@ src/qbittorrent
src/qbittorrent-nox
src/release
src/debug
src/base/version.h
CMakeLists.txt.user*
qbittorrent.pro.user*
conf.pri