helics  2.8.1
helicsVersion.hpp
Go to the documentation of this file.
1 /*
2 Copyright (c) 2017-2021,
3 Battelle Memorial Institute; Lawrence Livermore National Security, LLC; Alliance for Sustainable
4 Energy, LLC. See the top-level NOTICE for additional details. All rights reserved.
5 SPDX-License-Identifier: BSD-3-Clause
6 */
7 #pragma once
8 
9 #include "helics/helics-config.h"
10 
14 namespace helics {
16 constexpr auto versionString = HELICS_VERSION_STRING;
17 
19 constexpr int versionMajor = HELICS_VERSION_MAJOR;
21 constexpr int versionMinor = HELICS_VERSION_MINOR;
23 constexpr int versionPatch = HELICS_VERSION_PATCH;
25 constexpr auto versionBuild = HELICS_VERSION_BUILD;
27 #ifdef NDEBUG
28 constexpr auto buildFlags = HELICS_BUILD_FLAGS_RELEASE;
29 #else
30 constexpr auto buildFlags = HELICS_BUILD_FLAGS_DEBUG;
31 #endif
32 
33 constexpr auto compiler = HELICS_COMPILER_VERSION;
34 } // namespace helics
helics::versionMinor
constexpr int versionMinor
Definition: helicsVersion.hpp:21
helics::versionString
constexpr auto versionString
Definition: helicsVersion.hpp:16
helics::versionMajor
constexpr int versionMajor
Definition: helicsVersion.hpp:19
helics::versionBuild
constexpr auto versionBuild
Definition: helicsVersion.hpp:25
helics::compiler
constexpr auto compiler
Definition: helicsVersion.hpp:33
helics
the main namespace for the helics co-simulation library User functions will be in the helics namespac...
Definition: AsyncFedCallInfo.hpp:14
helics::buildFlags
constexpr auto buildFlags
Definition: helicsVersion.hpp:30
helics::versionPatch
constexpr int versionPatch
Definition: helicsVersion.hpp:23