Teuchos - Trilinos Tools Package Version of the Day
Loading...
Searching...
No Matches
Teuchos_Version.hpp
1// @HEADER
2// *****************************************************************************
3// Teuchos: Common Tools Package
4//
5// Copyright 2004 NTESS and the Teuchos contributors.
6// SPDX-License-Identifier: BSD-3-Clause
7// *****************************************************************************
8// @HEADER
9
10#ifndef TEUCHOS_VERSION_HPP
11#define TEUCHOS_VERSION_HPP
12
14#ifdef TEUCHOS_STANDALONE_PACKAGE
15# include "Teuchos_version.h"
16#else
17# include "Trilinos_version.h"
18#endif
19
20namespace Teuchos {
21
22 std::string Teuchos_Version() {
23#ifdef TEUCHOS_STANDALONE_PACKAGE
24 return ("Teuchos standalone package " TEUCHOS_VERSION_STRING);
25#else
26 return ("Teuchos in Trilinos " TRILINOS_VERSION_STRING);
27#endif
28 }
29
30} // namespace Teuchos
31
32#endif // TEUCHOS_VERSION_HPP
33
Teuchos header file which uses auto-configuration information to include necessary C++ headers.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...