From 26293db40f8ac62f3971e0e9dbbc0bf3439e61c0 Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Tue, 29 Dec 2020 19:33:03 +0200 Subject: Initial commit --- src/specgram.hpp.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/specgram.hpp.in (limited to 'src/specgram.hpp.in') diff --git a/src/specgram.hpp.in b/src/specgram.hpp.in new file mode 100644 index 0000000..4bb42d3 --- /dev/null +++ b/src/specgram.hpp.in @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2020-2021 Vasile Vilvoiu + * + * specgram is free software; you can redistribute it and/or modify + * it under the terms of the MIT license. See LICENSE for details. + */ + +#ifndef _SPECGRAM_HPP_ +#define _SPECGRAM_HPP_ + +#include +#include + +/* + * version + */ +#define SPECGRAM_VERSION_MAJOR @specgram_VERSION_MAJOR@ +#define SPECGRAM_VERSION_MINOR @specgram_VERSION_MINOR@ +#define SPECGRAM_VERSION_PATCH @specgram_VERSION_PATCH@ +#define SPECGRAM_VERSION_BUILD "@GIT_HASH@" + +#ifdef GIT_BUILD +#define SPECGRAM_VERSION "@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@.@GIT_HASH@" +#else +#define SPECGRAM_VERSION "@VERSION_MAJOR@.@VERSION_MINOR@.@VERSION_PATCH@" +#endif + +#endif \ No newline at end of file -- cgit v1.2.3