Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F27033384
version.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
version.cpp
View Options
/*******************************************************************************
*
* File: version.cpp
*
* Contents: Implementation for version.h.
*
* Copyright 2016
*
* Author: David Juhasz (david.juhasz@tuwien.ac.at)
*
******************************************************************************/
#include
"rosa/config/version.h"
#include
<sstream>
namespace
rosa
{
std
::
string
library_string
(
void
)
{
return
PACKAGE_STRING
;
}
std
::
string
version
(
void
)
{
return
PACKAGE_VERSION
;
}
std
::
string
verbose_version
(
void
)
{
std
::
stringstream
ss
;
ss
<<
PACKAGE_STRING
<<
std
::
endl
<<
"Built by "
<<
CMAKE_GENERATOR
<<
" with "
<<
CMAKE_CXX_COMPILER_ID
<<
' '
<<
CMAKE_CXX_COMPILER_VERSION
<<
std
::
endl
<<
"on a(n) "
<<
CMAKE_SYSTEM
<<
" system."
<<
std
::
endl
<<
"Build date: "
<<
BUILD_DATE
<<
std
::
endl
<<
"Package name: "
<<
PACKAGE_NAME
<<
std
::
endl
<<
"Package version: "
<<
PACKAGE_VERSION
<<
std
::
endl
<<
"Report issues: "
<<
PACKAGE_BUGREPORT
<<
std
::
endl
;
return
ss
.
str
();
}
}
// End namespace rosa
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Tue, Oct 27, 4:17 PM (1 d, 15 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
407613
Default Alt Text
version.cpp (1 KB)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline