don't include the source file in every library

This commit is contained in:
Konstantin Käfer
2014-12-09 14:14:11 +01:00
parent 318ef5d443
commit 917c0168ab
3 changed files with 15 additions and 30 deletions

View File

@@ -0,0 +1,14 @@
#include <mbgl/util/version.hpp>
namespace mbgl {
namespace version {
const int major = MBGL_VERSION_MAJOR;
const int minor = MBGL_VERSION_MINOR;
const int patch = MBGL_VERSION_PATCH;
const char *revision = MBGL_VERSION_REV;
const char *string = MBGL_VERSION_STRING;
const unsigned int number = MBGL_VERSION;
}
}