Added a function returning maintance version name
This commit is contained in:
parent
0f510c00eb
commit
dea057452f
|
@ -233,4 +233,4 @@ include(CPack)
|
||||||
# Print summary
|
# Print summary
|
||||||
########################################################################
|
########################################################################
|
||||||
message(STATUS "Using install prefix: ${CMAKE_INSTALL_PREFIX}")
|
message(STATUS "Using install prefix: ${CMAKE_INSTALL_PREFIX}")
|
||||||
message(STATUS "Building for version: ${VERSION} / ${LIBVER} / ${BUILD_DATE}")
|
message(STATUS "Building for version: ${VERSION} / ${LIBVER}")
|
||||||
|
|
|
@ -49,9 +49,14 @@ namespace gr {
|
||||||
GRGSM_API const std::string api_version();
|
GRGSM_API const std::string api_version();
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief returnjust the minor version defined by cmake
|
* \brief return just the minor version defined by cmake
|
||||||
*/
|
*/
|
||||||
GRGSM_API const std::string minor_version();
|
GRGSM_API const std::string minor_version();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief return just the maint version defined by cmake
|
||||||
|
*/
|
||||||
|
GRGSM_API const std::string maint_version();
|
||||||
} /* namespace gsm */
|
} /* namespace gsm */
|
||||||
} /* namespace gr */
|
} /* namespace gr */
|
||||||
|
|
||||||
|
|
|
@ -59,5 +59,11 @@ namespace gr {
|
||||||
{
|
{
|
||||||
return "@MINOR_VERSION@";
|
return "@MINOR_VERSION@";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const std::string
|
||||||
|
maint_version()
|
||||||
|
{
|
||||||
|
return "@MAINT_VERSION@";
|
||||||
|
}
|
||||||
} /* namespace gsm */
|
} /* namespace gsm */
|
||||||
} /* namespace gr */
|
} /* namespace gr */
|
||||||
|
|
|
@ -32,5 +32,6 @@ namespace gr {
|
||||||
const std::string major_version();
|
const std::string major_version();
|
||||||
const std::string api_version();
|
const std::string api_version();
|
||||||
const std::string minor_version();
|
const std::string minor_version();
|
||||||
|
const std::string maint_version();
|
||||||
} /* namespace gsm */
|
} /* namespace gsm */
|
||||||
} /* namespace gr */
|
} /* namespace gr */
|
||||||
|
|
Loading…
Reference in New Issue