P4C
The P4 Compiler
Loading...
Searching...
No Matches
tc/version.h
1/*
2 * Copyright (C) 2023 Intel Corporation
3 * SPDX-FileCopyrightText: 2023 Intel Corporation
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
8#ifndef BACKENDS_TC_VERSION_H_
9#define BACKENDS_TC_VERSION_H_
10
11#include <string>
12
13/* Start version defines
14** The build process will define these macros
15** so we can have the same version number as the build process */
16
17#ifndef MAJORVERSION
18#define MAJORVERSION 1
19#endif
20
21#ifndef MINORVERSION
22#define MINORVERSION 0
23#endif
24
25#ifndef BUILDVERSION
26#define BUILDVERSION 0
27#endif
28
29#ifndef FIXVERSION
30#define FIXVERSION 0
31#endif
32/* end version defines*/
33
34std::string version_string();
35unsigned int version_num();
36
37#endif /* BACKENDS_TC_VERSION_H_ */