summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRossen Apostolov <rossen@kth.se>2014-06-10 11:19:21 (GMT)
committerMagnus Lundborg <magnus.lundborg@scilifelab.se>2014-06-16 13:51:54 (GMT)
commitf38717324267c2da69c20a0f1918ce8ef1e66be7 (patch)
tree7b7da0f06764162a66df5e1c3da34cc5acec14b4 /include
parentd4ccc39c47884a3f35470defdf8c94220f0ea725 (diff)
Added project and API versions to CMakeLists.txt.
TNG_VERSION was renamed to TNG_API_VERSION which is configured through API_VERSION in CMakeLists.txt. Updated the header to 2014. Change-Id: I6a37825cd1d236927ac0e21a797abc4e98f7ce59
Diffstat (limited to 'include')
-rw-r--r--include/tng_io.h6
-rw-r--r--include/tng_io.hpp2
-rw-r--r--include/tng_io_fwd.h2
-rw-r--r--include/version.h.in7
4 files changed, 7 insertions, 10 deletions
diff --git a/include/tng_io.h b/include/tng_io.h
index 45cb1d8..ebdc618 100644
--- a/include/tng_io.h
+++ b/include/tng_io.h
@@ -1,7 +1,5 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.5
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
@@ -343,10 +341,6 @@ typedef unsigned __int64 uint64_t;
#endif /* USE_WINDOWS */
#endif /* DECLSPECDLLEXPORT */
-
-/** The version of this TNG build */
-#define TNG_VERSION 5 /* TNG_VERSION 4 => Api version 1.5 */
-
/** Flag to indicate frame dependent data. */
#define TNG_FRAME_DEPENDENT 1
/** Flag to indicate particle dependent data. */
diff --git a/include/tng_io.hpp b/include/tng_io.hpp
index f3bc32a..12172e5 100644
--- a/include/tng_io.hpp
+++ b/include/tng_io.hpp
@@ -1,7 +1,5 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.5
- *
* Written by Anders Gärdenäs
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
diff --git a/include/tng_io_fwd.h b/include/tng_io_fwd.h
index 34ddd87..8b63a9a 100644
--- a/include/tng_io_fwd.h
+++ b/include/tng_io_fwd.h
@@ -1,7 +1,5 @@
/* This code is part of the tng binary trajectory format.
*
- * VERSION 1.5
- *
* Written by Magnus Lundborg
* Copyright (c) 2012-2013, The GROMACS development team.
* Check out http://www.gromacs.org for more information.
diff --git a/include/version.h.in b/include/version.h.in
new file mode 100644
index 0000000..840e454
--- /dev/null
+++ b/include/version.h.in
@@ -0,0 +1,7 @@
+#ifndef VERSION_CONFIG_H
+#define VERSION_CONFIG_H
+
+/* define the API version */
+#define TNG_API_VERSION @API_VERSION@
+
+#endif
contact: Jan Huwald // Impressum