summaryrefslogtreecommitdiff
path: root/tiger-compiler/src/version.cc.in
diff options
context:
space:
mode:
authorMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
committerMartial Simon <msimon_fr@hotmail.com>2025-09-15 01:07:58 +0200
commit967be9e750221ab2ab783f95df79bb26d290a45e (patch)
tree6802900a5e975f9f68b169f0f503f040056d6952 /tiger-compiler/src/version.cc.in
add: added projectsHEADmain
Diffstat (limited to 'tiger-compiler/src/version.cc.in')
-rw-r--r--tiger-compiler/src/version.cc.in34
1 files changed, 34 insertions, 0 deletions
diff --git a/tiger-compiler/src/version.cc.in b/tiger-compiler/src/version.cc.in
new file mode 100644
index 0000000..24d699c
--- /dev/null
+++ b/tiger-compiler/src/version.cc.in
@@ -0,0 +1,34 @@
+/** -*- C++ -*-
+ ** \file version.cc
+ ** \brief Common definitions.
+ */
+
+#include <config.h>
+#include <authors.h>
+
+
+/*-------------------.
+| Program identity. |
+`-------------------*/
+
+/** Name of this program.
+
+Be sure to have something usable even before main is started,
+in case some ctor of a static object need to issue an error
+message. */
+const char *program_name = PACKAGE_NAME;
+
+// Version string of this program.
+const char *program_version =
+"tc (" PACKAGE_STRING ")\n"
+"@ID@\n"
+"\n"
+PACKAGE_SHORT_AUTHORS;
+
+// Bug report address of this program.
+const char *program_bug_address = PACKAGE_BUGREPORT;
+
+/// Describe program and accepted arguments.
+const char *program_doc =
+ "Tiger Compiler, Copyright (C) 2004-2021 LRDE.";
+const char *program_args_doc = "INPUT-FILE";