CMakeLists.txt 1.62 KB
Newer Older
1
#
Justin Carpentier's avatar
Justin Carpentier committed
2
# Copyright (c) 2015-2021 CNRS INRIA
3
4
#

5
6
SET(${PROJECT_NAME}_PYTHON_TESTS
  bindings
Justin Carpentier's avatar
Justin Carpentier committed
7
8
9

  # Multibody
  bindings_joint_composite
10
  bindings_model
Gabriele Buondonno's avatar
Gabriele Buondonno committed
11
  bindings_data
Justin Carpentier's avatar
Justin Carpentier committed
12
13
14
15
  bindings_geometry_model
  bindings_liegroups

  # Spatial
16
17
18
  bindings_force
  bindings_frame
  bindings_inertia
19
  bindings_spatial
20
21
  bindings_motion
  bindings_SE3
Justin Carpentier's avatar
Justin Carpentier committed
22
23
24
25
26
  explog
  rpy

  # Algo
  bindings_com
27
  bindings_kinematic_regressor
Justin Carpentier's avatar
Justin Carpentier committed
28
29
30
  bindings_regressor
  bindings_dynamics
  bindings_kinematics
Justin Carpentier's avatar
Justin Carpentier committed
31
  bindings_rnea
32
  bindings_aba
Justin Carpentier's avatar
Justin Carpentier committed
33
  bindings_joint_algorithms
34
35
  
  # Algo derivatives
36
37
  bindings_kinematics_derivatives
  bindings_frame_derivatives
38
39
40
  bindings_forward_dynamics_derivatives
  bindings_inverse_dynamics_derivatives
  bindings_centroidal_dynamics_derivatives
41
  bindings_com_velocity_derivatives
42

43
44
45
  # Parsers
  bindings_sample_models

46
  # Others
47
  utils
48
  serialization
49
  version
50
51
  bindings_std_vector
  bindings_std_map
52
53
  )

54
IF(hpp-fcl_FOUND)
55
56
57
58
  SET(${PROJECT_NAME}_PYTHON_TESTS
    ${${PROJECT_NAME}_PYTHON_TESTS}
    bindings_geometry_object
    )
59
60
61
62
63
64
  IF(BUILD_WITH_HPP_FCL_PYTHON_BINDINGS)
    SET(${PROJECT_NAME}_PYTHON_TESTS
      ${${PROJECT_NAME}_PYTHON_TESTS}
      bindings_fcl_transform
      )
  ENDIF(BUILD_WITH_HPP_FCL_PYTHON_BINDINGS)
65
ENDIF(hpp-fcl_FOUND)
66

67
IF(urdfdom_FOUND)
68
69
  SET(${PROJECT_NAME}_PYTHON_TESTS
    ${${PROJECT_NAME}_PYTHON_TESTS}
70
    bindings_urdf
Justin Carpentier's avatar
Justin Carpentier committed
71
    bindings_geometry_model_urdf
72
    )
73
ENDIF(urdfdom_FOUND)
74

75
FOREACH(TEST ${${PROJECT_NAME}_PYTHON_TESTS})
76
  ADD_PYTHON_UNIT_TEST("test-py-${TEST}" "unittest/python/${TEST}.py" "bindings/python")
77
ENDFOREACH(TEST ${${PROJECT_NAME}_PYTHON_TESTS})
78
79

MAKE_DIRECTORY("${CMAKE_CURRENT_BINARY_DIR}/serialization-data")