Teuchos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Teuchos_Version.hpp
Go to the documentation of this file.
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 
13 #include "Teuchos_ConfigDefs.hpp"
14 #ifdef TEUCHOS_STANDALONE_PACKAGE
15 # include "Teuchos_version.h"
16 #else
17 # include "Trilinos_version.h"
18 #endif
19 
20 namespace 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...
std::string Teuchos_Version()