helics  3.5.2
helicsVersion.hpp
Go to the documentation of this file.
1 /*
2 Copyright (c) 2017-2024,
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 
11 #include <string>
12 
16 namespace helics {
18 constexpr auto versionString = HELICS_VERSION_STRING;
19 
21 constexpr int versionMajor = HELICS_VERSION_MAJOR;
23 constexpr int versionMinor = HELICS_VERSION_MINOR;
25 constexpr int versionPatch = HELICS_VERSION_PATCH;
27 constexpr auto versionBuild = HELICS_VERSION_BUILD;
29 #ifdef NDEBUG
30 constexpr auto buildFlags = HELICS_BUILD_FLAGS_RELEASE;
31 #else
32 constexpr auto buildFlags = HELICS_BUILD_FLAGS_DEBUG;
33 #endif
35 constexpr 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