summaryrefslogtreecommitdiff
path: root/src/specgram.hpp.in
blob: dc258be13aa4419dc77a6aa0b904b597fba2346e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Copyright (c) 2020-2023 Vasile Vilvoiu <vasi@vilvoiu.ro>
 *
 * 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 <stdint.h>
#include <stddef.h>

/*
 * version
 */
#define SPECGRAM_VERSION_MAJOR @VERSION_MAJOR@
#define SPECGRAM_VERSION_MINOR @VERSION_MINOR@
#define SPECGRAM_VERSION_PATCH @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