OmniSciDB  04ee39c94c
release.h
Go to the documentation of this file.
1 /*
2  * Copyright 2017 MapD Technologies, Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 // clang-format off
25 #ifndef RELEASE_H
26 #define RELEASE_H
27 
28 #include <string>
29 
30 static const int32_t MAPD_VERSION_MAJOR{@MAPD_VERSION_MAJOR@};
31 static const int32_t MAPD_VERSION_MINOR{@MAPD_VERSION_MINOR@};
32 static const int32_t MAPD_VERSION_PATCH{@MAPD_VERSION_PATCH@};
33 static const int32_t MAPD_VERSION{
35 };
36 
37 static const std::string MAPD_VERSION_EXTRA{"@MAPD_VERSION_EXTRA@"};
38 static const std::string MAPD_VERSION_RAW{"@MAPD_VERSION_RAW@"};
39 static const std::string MAPD_BUILD_DATE{"@MAPD_BUILD_DATE@"};
40 static const std::string MAPD_GIT_HASH{"@MAPD_GIT_HASH@"};
41 static const std::string MAPD_EDITION{"@MAPD_EDITION_LOWER@"};
42 
43 static const std::string MAPD_RELEASE{"@MAPD_VERSION_RAW@-@MAPD_BUILD_DATE@-@MAPD_GIT_HASH@"};
44 
45 #endif // RELEASE_H
static const std::string MAPD_VERSION_EXTRA
Definition: release.h:37
static const std::string MAPD_GIT_HASH
Definition: release.h:40
static const int32_t MAPD_VERSION_MAJOR
Definition: release.h:30
static const std::string MAPD_BUILD_DATE
Definition: release.h:39
static const std::string MAPD_EDITION
Definition: release.h:41
static const int32_t MAPD_VERSION
Definition: release.h:33
static const int32_t MAPD_VERSION_PATCH
Definition: release.h:32
static const std::string MAPD_VERSION_RAW
Definition: release.h:38
static const std::string MAPD_RELEASE
Definition: release.h:43
static const int32_t MAPD_VERSION_MINOR
Definition: release.h:31