diff options
author | Robin Krahl <me@robin-krahl.de> | 2018-06-21 11:13:24 +0200 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2018-06-21 11:15:26 +0200 |
commit | cf15841bba3ccf99174dd776ecd5bba51aa35d88 (patch) | |
tree | 48bd17a55a70195617eb4f7e77f79fc5a39f8d26 /Makefile | |
parent | e1ef8d79809190c5ac5d540bd4aa376dcfda7e93 (diff) | |
download | libnitrokey-qmake-version.tar.gz libnitrokey-qmake-version.tar.bz2 |
Add version.cc generation to qmake buildqmake-version
To generate the version.cc file with the correct version information,
this patch introduces new variables VERSION_MAJOR, VERSION_MINOR and
VERSION_GIT with the required information and then defines a custom
compiler that calls sed to replace the placeholders in version.cc.in and
to create version.cc.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions