Nicolas Capens | e5051aa | 2018-10-02 14:35:57 -0400 | [diff] [blame] | 1 | // Copyright 2018 The SwiftShader Authors. All Rights Reserved. |
Nicolas Capens | 68a8238 | 2018-10-02 13:16:55 -0400 | [diff] [blame] | 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Tim Van Patten | 9da287f | 2019-11-07 10:27:18 -0700 | [diff] [blame] | 15 | #ifndef Version_h |
| 16 | #define Version_h |
| 17 | |
Nicolas Capens | e5051aa | 2018-10-02 14:35:57 -0400 | [diff] [blame] | 18 | #define MAJOR_VERSION 5 |
| 19 | #define MINOR_VERSION 0 |
Nicolas Capens | ee841c5 | 2018-11-13 14:18:26 -0500 | [diff] [blame] | 20 | #define PATCH_VERSION 0 |
Nicolas Capens | dc2966a | 2018-10-31 11:25:15 -0400 | [diff] [blame] | 21 | #define BUILD_REVISION 1 |
Nicolas Capens | 68a8238 | 2018-10-02 13:16:55 -0400 | [diff] [blame] | 22 | |
| 23 | #define STRINGIFY(x) #x |
| 24 | #define MACRO_STRINGIFY(x) STRINGIFY(x) |
| 25 | |
| 26 | #define REVISION_STRING MACRO_STRINGIFY(BUILD_REVISION) |
Antonio Maiorano | 71c49f8 | 2020-04-27 11:33:30 -0400 | [diff] [blame] | 27 | #define VERSION_STRING \ |
| 28 | MACRO_STRINGIFY(MAJOR_VERSION) \ |
| 29 | "." MACRO_STRINGIFY(MINOR_VERSION) "." MACRO_STRINGIFY(PATCH_VERSION) |
Tim Van Patten | 9da287f | 2019-11-07 10:27:18 -0700 | [diff] [blame] | 30 | |
Antonio Maiorano | 71c49f8 | 2020-04-27 11:33:30 -0400 | [diff] [blame] | 31 | #endif // Version_h |