summaryrefslogtreecommitdiffhomepage
path: root/opentrack/version.cc
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/version.cc')
-rw-r--r--opentrack/version.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/opentrack/version.cc b/opentrack/version.cc
new file mode 100644
index 00000000..026ad057
--- /dev/null
+++ b/opentrack/version.cc
@@ -0,0 +1,9 @@
+#include "opentrack/export.hpp"
+
+#ifdef __cplusplus
+extern "C"
+#endif
+OPENTRACK_EXPORT
+volatile const char* opentrack_version;
+
+volatile const char* opentrack_version = OPENTRACK_VERSION;