Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1493914
version.cpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
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
Sun, Mar 1, 6:00 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
279370
Default Alt Text
version.cpp (1 KB)
Attached To
Mode
R20 SoC_Rosa_repo
Attached
Detach File
Event Timeline
Log In to Comment