dependencies.cpp
Go to the documentation of this file.
1 //
2 // Copyright (c) 2020-2021 INRIA
3 //
4 
5 #include <boost/python.hpp>
6 
7 namespace pinocchio
8 {
9  namespace python
10  {
11 
12  namespace bp = boost::python;
13 
15  {
16  bp::scope().attr("WITH_HPP_FCL") =
17 #ifdef PINOCCHIO_WITH_HPP_FCL
18  true;
19 #else
20  false;
21 #endif
22 
23  bp::scope().attr("WITH_URDFDOM") =
24 #ifdef PINOCCHIO_WITH_URDFDOM
25  true;
26 #else
27  false;
28 #endif
29 
30  bp::scope().attr("WITH_CPPAD") =
31 #ifdef PINOCCHIO_WITH_CPPAD
32  true;
33 #else
34  false;
35 #endif
36 
37  bp::scope().attr("WITH_OPENMP") =
38 #ifdef PINOCCHIO_PYTHON_INTERFACE_WITH_OPENMP
39  true;
40 #else
41  false;
42 #endif
43 
44  bp::scope().attr("WITH_SDFORMAT") =
45 #ifdef PINOCCHIO_WITH_SDFORMAT
46  true;
47 #else
48  false;
49 #endif
50  }
51 
52  } // namespace python
53 } // namespace pinocchio
boost::python
python
pinocchio::python::exposeDependencies
void exposeDependencies()
Definition: dependencies.cpp:14
pinocchio
Main pinocchio namespace.
Definition: timings.cpp:27


pinocchio
Author(s):
autogenerated on Fri Nov 1 2024 02:41:43