Verified Commit 295220ab authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python: add raw version

parent 8e9a14c7
//
// Copyright (c) 2019 CNRS
// Copyright (c) 2019 CNRS INRIA
//
#include "hpp/fcl/config.hh"
......@@ -28,6 +28,7 @@ void exposeVersion()
bp::scope().attr("__version__") = BOOST_PP_STRINGIZE(HPP_FCL_MAJOR_VERSION) "."
BOOST_PP_STRINGIZE(HPP_FCL_MINOR_VERSION) "."
BOOST_PP_STRINGIZE(HPP_FCL_PATCH_VERSION);
bp::scope().attr("__raw_version__") = HPP_FCL_VERSION;
bp::scope().attr("HPP_FCL_MAJOR_VERSION") = HPP_FCL_MAJOR_VERSION;
bp::scope().attr("HPP_FCL_MINOR_VERSION") = HPP_FCL_MINOR_VERSION;
bp::scope().attr("HPP_FCL_PATCH_VERSION") = HPP_FCL_PATCH_VERSION;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment