aboutsummaryrefslogtreecommitdiff
path: root/include/armnnTestUtils/Version.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/armnnTestUtils/Version.hpp')
-rw-r--r--include/armnnTestUtils/Version.hpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/armnnTestUtils/Version.hpp b/include/armnnTestUtils/Version.hpp
new file mode 100644
index 0000000000..39009d5621
--- /dev/null
+++ b/include/armnnTestUtils/Version.hpp
@@ -0,0 +1,24 @@
+//
+// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+
+#pragma once
+
+/// Macro utils
+#define STRINGIFY_VALUE(s) STRINGIFY_MACRO(s)
+#define STRINGIFY_MACRO(s) #s
+
+// ArmnnTestUtils version components
+#define ARMNN_TEST_UTILS_MAJOR_VERSION 1
+#define ARMNN_TEST_UTILS_MINOR_VERSION 0
+#define ARMNN_TEST_UTILS_PATCH_VERSION 0
+
+/// ARMNN_TEST_UTILS_VERSION: "X.Y.Z"
+/// where:
+/// X = Major version number
+/// Y = Minor version number
+/// Z = Patch version number
+#define ARMNN_TEST_UTILS_VERSION STRINGIFY_VALUE(ARMNN_TEST_UTILS_MAJOR_VERSION) "." \
+ STRINGIFY_VALUE(ARMNN_TEST_UTILS_MINOR_VERSION) "." \
+ STRINGIFY_VALUE(ARMNN_TEST_UTILS_PATCH_VERSION)