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 
45  } // namespace python
46 } // namespace pinocchio
Main pinocchio namespace.
Definition: timings.cpp:28


pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:29