summaryrefslogtreecommitdiffstats
path: root/src/Version.h.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-03-14 18:20:48 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-24 15:37:20 (GMT)
commit2483465a7592937b0ad418389423c5e0e872a2d5 (patch)
tree66996586642ec97e913576963ced83510529f198 /src/Version.h.in
parent24f1a3ed9fe39f2a49d9ead8e32ea45f748865e8 (diff)
downloadCastXML-2483465a7592937b0ad418389423c5e0e872a2d5.zip
CastXML-2483465a7592937b0ad418389423c5e0e872a2d5.tar.gz
CastXML-2483465a7592937b0ad418389423c5e0e872a2d5.tar.bz2
castxml: Report version number with '--version'
Also pass the flag through so Clang reports its version too.
Diffstat (limited to 'src/Version.h.in')
-rw-r--r--src/Version.h.in21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Version.h.in b/src/Version.h.in
new file mode 100644
index 0000000..cff30c1
--- /dev/null
+++ b/src/Version.h.in
@@ -0,0 +1,21 @@
+/*
+ Copyright Kitware, Inc.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+#ifndef CASTXML_VERSION_H
+#define CASTXML_VERSION_H
+
+#define CASTXML_VERSION "@CastXML_VERSION@"
+
+#endif // CASTXML_VERSION_H