From 14adc6a1d769e22958496d570b7f25b68cc86969 Mon Sep 17 00:00:00 2001 From: benj Date: Fri, 16 Jun 2017 01:20:02 -0700 Subject: add unity testing fmwk and simple hash fn demonstration --- src/cmake_variables.h.in | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/cmake_variables.h.in (limited to 'src/cmake_variables.h.in') diff --git a/src/cmake_variables.h.in b/src/cmake_variables.h.in new file mode 100644 index 0000000..0347d6a --- /dev/null +++ b/src/cmake_variables.h.in @@ -0,0 +1,19 @@ +#ifndef CPROJ_TEMPLATE_H +#define CPROJ_TEMPLATE_H + +#ifdef __GNUC__ +#define UNUSED(x) UNUSED_##x __attribute__((__unused__)) +#else +#define UNUSED(x) UNUSED_##x +#endif + +#ifdef __GNUC__ +#define UNUSED_FUNCTION(x) __attribute__((__unused__)) UNUSED_##x +#else +#define UNUSED_FUNCTION(x) UNUSED_##x +#endif + +#define CMAKE_PROJECT_VERSION "@PROJECT_VERSION@" +#define CMAKE_PROJECT_NAME "@PROJECT_NAME@" + +#endif -- cgit v1.2.3