CoreNEURON
config.h
Go to the documentation of this file.
1
/*
2
# =============================================================================
3
# Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
4
#
5
# See top-level LICENSE file for details.
6
# =============================================================================
7
*/
8
9
#pragma once
10
11
/**
12
* \dir
13
* \brief Global project configurations
14
*
15
* \file
16
* \brief Version information
17
*/
18
19
#include <string>
20
21
namespace
coreneuron
{
22
23
/**
24
* \brief Project version information
25
*/
26
struct
version
{
27
/// git revision id
28
static
const
std::string
GIT_REVISION
;
29
30
/// project tagged version in the cmake
31
static
const
std::string
CORENEURON_VERSION
;
32
33
/// return version string (version + git id) as a string
34
static
std::string
to_string
() {
35
return
CORENEURON_VERSION
+
" "
+
GIT_REVISION
;
36
}
37
};
38
39
}
// namespace coreneuron
coreneuron
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
Definition:
corenrn_parameters.cpp:12
coreneuron::version::CORENEURON_VERSION
static const std::string CORENEURON_VERSION
project tagged version in the cmake
Definition:
config.h:31
coreneuron::version::GIT_REVISION
static const std::string GIT_REVISION
git revision id
Definition:
config.h:28
coreneuron::version::to_string
static std::string to_string()
return version string (version + git id) as a string
Definition:
config.h:34
coreneuron::version
Project version information.
Definition:
config.h:26
coreneuron
config
config.h