Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F60892275
version.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, May 3, 05:08
Size
987 B
Mime Type
text/x-c
Expires
Sun, May 5, 05:08 (2 d)
Engine
blob
Format
Raw Data
Handle
17435753
Attached To
rGOOSEFEM GooseFEM
version.hpp
View Options
/**
\file version.hpp
\copyright Copyright 2017. Tom de Geus. All rights reserved.
\license This project is released under the GNU Public License (GPLv3).
*/
#ifndef GOOSEFEM_VERSION_HPP
#define GOOSEFEM_VERSION_HPP
#include "version.h"
namespace GooseFEM {
inline std::string version()
{
return std::string(GOOSEFEM_VERSION);
}
inline std::vector<std::string> version_dependencies()
{
std::vector<std::string> ret;
ret.push_back("goosefem=" + version());
ret.push_back("xtensor=" +
std::to_string(XTENSOR_VERSION_MAJOR) + "." +
std::to_string(XTENSOR_VERSION_MINOR) + "." +
std::to_string(XTENSOR_VERSION_PATCH));
#if defined(GOOSEFEM_EIGEN) || defined(EIGEN_WORLD_VERSION)
ret.push_back("eigen=" +
std::to_string(EIGEN_WORLD_VERSION) + "." +
std::to_string(EIGEN_MAJOR_VERSION) + "." +
std::to_string(EIGEN_MINOR_VERSION));
#endif
return ret;
}
} // namespace GooseFEM
#endif
Event Timeline
Log In to Comment