Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""

This reverts commit 9c886f20b9.
This commit is contained in:
Scott Anderson 2018-08-24 19:35:02 +12:00
parent 9c886f20b9
commit fd3fa760d3
19 changed files with 385 additions and 227 deletions

16
include/wlr/version.h.in Normal file
View file

@ -0,0 +1,16 @@
#ifndef WLR_VERSION_H
#define WLR_VERSION_H
#mesondefine WLR_VERSION_STR
#mesondefine WLR_VERSION_MAJOR
#mesondefine WLR_VERSION_MINOR
#mesondefine WLR_VERSION_MICRO
#define WLR_VERSION_NUM ((WLR_VERSION_MAJOR << 16) | (WLR_VERSION_MINOR << 8) | WLR_VERSION_MICRO)
#mesondefine WLR_VERSION_API_CURRENT
#mesondefine WLR_VERSION_API_REVISION
#mesondefine WLR_VERSION_API_AGE
#endif