summaryrefslogtreecommitdiff
path: root/common/build-info.cpp.in
diff options
context:
space:
mode:
Diffstat (limited to 'common/build-info.cpp.in')
-rw-r--r--common/build-info.cpp.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/build-info.cpp.in b/common/build-info.cpp.in
new file mode 100644
index 00000000..0b945aa6
--- /dev/null
+++ b/common/build-info.cpp.in
@@ -0,0 +1,4 @@
+int LLAMA_BUILD_NUMBER = @BUILD_NUMBER@;
+char const *LLAMA_COMMIT = "@BUILD_COMMIT@";
+char const *LLAMA_COMPILER = "@BUILD_COMPILER@";
+char const *LLAMA_BUILD_TARGET = "@BUILD_TARGET@";