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