OmniSciDB  c0231cc57d
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
release.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 HEAVY.AI, 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 
23 // clang-format off
24 #ifndef RELEASE_H
25 #define RELEASE_H
26 
27 #include <string>
28 
29 static const int32_t MAPD_VERSION_MAJOR{@MAPD_VERSION_MAJOR@};
30 static const int32_t MAPD_VERSION_MINOR{@MAPD_VERSION_MINOR@};
31 static const int32_t MAPD_VERSION_PATCH{@MAPD_VERSION_PATCH@};
32 static const int32_t MAPD_VERSION{
34 };
35 
36 static const std::string MAPD_VERSION_EXTRA{"@MAPD_VERSION_EXTRA@"};
37 static const std::string MAPD_VERSION_RAW{"@MAPD_VERSION_RAW@"};
38 static const std::string MAPD_BUILD_DATE{"@MAPD_BUILD_DATE@"};
39 static const std::string MAPD_GIT_HASH{"@MAPD_GIT_HASH@"};
40 static const std::string MAPD_EDITION{"@MAPD_EDITION_LOWER@"};
41 
42 static const std::string MAPD_RELEASE{"@MAPD_VERSION_RAW@-@MAPD_BUILD_DATE@-@MAPD_GIT_HASH@"};
43 
44 #endif // RELEASE_H
static const std::string MAPD_VERSION_EXTRA
Definition: release.h:36
static const std::string MAPD_GIT_HASH
Definition: release.h:39
static const int32_t MAPD_VERSION_MAJOR
Definition: release.h:29
static const std::string MAPD_BUILD_DATE
Definition: release.h:38
static const std::string MAPD_EDITION
Definition: release.h:40
static const int32_t MAPD_VERSION
Definition: release.h:32
static const int32_t MAPD_VERSION_PATCH
Definition: release.h:31
static const std::string MAPD_VERSION_RAW
Definition: release.h:37
static const std::string MAPD_RELEASE
Definition: release.h:42
static const int32_t MAPD_VERSION_MINOR
Definition: release.h:30