From d0dd48406c61ba3ea17e97eeef7bd0749f899c51 Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Fri, 9 Dec 2016 12:36:25 +0000 Subject: [PATCH] Move version string to main removing common dependency --- common.h | 9 --------- common.h.in | 9 --------- main.cpp | 3 ++- 3 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 common.h delete mode 100644 common.h.in diff --git a/common.h b/common.h deleted file mode 100644 index a66aa1a..0000000 --- a/common.h +++ /dev/null @@ -1,9 +0,0 @@ - -// Copyright (c) 2015-16 Tom Deakin, Simon McIntosh-Smith, -// University of Bristol HPC -// -// For full license terms please see the LICENSE file distributed with this -// source code - -#define VERSION_STRING "devel" - diff --git a/common.h.in b/common.h.in deleted file mode 100644 index 1b0f38b..0000000 --- a/common.h.in +++ /dev/null @@ -1,9 +0,0 @@ - -// Copyright (c) 2015-16 Tom Deakin, Simon McIntosh-Smith, -// University of Bristol HPC -// -// For full license terms please see the LICENSE file distributed with this -// source code - -#define VERSION_STRING "@gpu-stream_VERSION_MAJOR@.@gpu-stream_VERSION_MINOR@" - diff --git a/main.cpp b/main.cpp index c73322f..c1ca69f 100644 --- a/main.cpp +++ b/main.cpp @@ -15,7 +15,8 @@ #include #include -#include "common.h" +#define VERSION_STRING "devel" + #include "Stream.h" #if defined(CUDA)