CMakeLists.txt 503 Bytes
Newer Older
1
SET(${PROJECT_NAME}_EXAMPLES
2
3
  i-inverse-kinematics
  overview-simple
4
  #overview-urdf
5
6
  )

7
8
9
10
11
12
13
14
FOREACH(EXAMPLE ${${PROJECT_NAME}_EXAMPLES})
  IF(BUILD_PYTHON_INTERFACE)
    ADD_PYTHON_UNIT_TEST("py-example-${EXAMPLE}" "examples/${EXAMPLE}.py" "bindings/python")
  ENDIF(BUILD_PYTHON_INTERFACE)
  ADD_UNIT_TEST("example-${EXAMPLE}" ${EXAMPLE})
  PKG_CONFIG_USE_DEPENDENCY("example-${EXAMPLE}" eigen3)
  PKG_CONFIG_USE_DEPENDENCY("example-${EXAMPLE}" hpp-fcl)
ENDFOREACH(EXAMPLE ${${PROJECT_NAME}_EXAMPLES})