5 #include "hpp/fcl/config.hh" 7 #include <boost/preprocessor/stringize.hpp> 12 return HPP_FCL_VERSION_AT_LEAST(major, minor, patch);
16 return HPP_FCL_VERSION_AT_MOST(major, minor, patch);
21 bp::scope().attr(
"__version__") =
22 BOOST_PP_STRINGIZE(HPP_FCL_MAJOR_VERSION)
"." BOOST_PP_STRINGIZE(HPP_FCL_MINOR_VERSION)
"." BOOST_PP_STRINGIZE(HPP_FCL_PATCH_VERSION);
23 bp::scope().attr(
"__raw_version__") = HPP_FCL_VERSION;
24 bp::scope().attr(
"HPP_FCL_MAJOR_VERSION") = HPP_FCL_MAJOR_VERSION;
25 bp::scope().attr(
"HPP_FCL_MINOR_VERSION") = HPP_FCL_MINOR_VERSION;
26 bp::scope().attr(
"HPP_FCL_PATCH_VERSION") = HPP_FCL_PATCH_VERSION;
30 "Checks if the current version of hpp-fcl is at least" 31 " the version provided by the input arguments.");
35 "Checks if the current version of hpp-fcl is at most" 36 " the version provided by the input arguments.");
bool checkVersionAtMost(int major, int minor, int patch)
void def(const char *name, Func func)
bool checkVersionAtLeast(int major, int minor, int patch)