From 967be9e750221ab2ab783f95df79bb26d290a45e Mon Sep 17 00:00:00 2001 From: Martial Simon Date: Mon, 15 Sep 2025 01:07:58 +0200 Subject: add: added projects --- tiger-compiler/src/version.cc.in | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 tiger-compiler/src/version.cc.in (limited to 'tiger-compiler/src/version.cc.in') 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 +#include + + +/*-------------------. +| 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"; -- cgit v1.2.3