File: CMakeLists.txt

package info (click to toggle)
sdformat 12.3.0%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 7,980 kB
  • sloc: cpp: 54,706; python: 3,729; javascript: 704; ruby: 366; sh: 97; ansic: 30; makefile: 16
file content (73 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
include (${sdf_cmake_dir}/SDFUtils.cmake)

set (headers
  Actor.hh
  AirPressure.hh
  Altimeter.hh
  Assert.hh
  Atmosphere.hh
  Box.hh
  Camera.hh
  Capsule.hh
  Collision.hh
  Console.hh
  Cylinder.hh
  Element.hh
  Ellipsoid.hh
  Error.hh
  Exception.hh
  Filesystem.hh
  ForceTorque.hh
  Frame.hh
  Geometry.hh
  Gui.hh
  Heightmap.hh
  Imu.hh
  InterfaceElements.hh
  InterfaceFrame.hh
  InterfaceJoint.hh
  InterfaceLink.hh
  InterfaceModel.hh
  InterfaceModelPoseGraph.hh
  Joint.hh
  JointAxis.hh
  Lidar.hh
  Light.hh
  Link.hh
  Magnetometer.hh
  Material.hh
  Mesh.hh
  Model.hh
  NavSat.hh
  Noise.hh
  Param.hh
  parser.hh
  ParserConfig.hh
  ParticleEmitter.hh
  Pbr.hh
  Physics.hh
  Plane.hh
  PrintConfig.hh
  Root.hh
  Scene.hh
  SDFImpl.hh
  SemanticPose.hh
  Sensor.hh
  Sky.hh
  Sphere.hh
  Surface.hh
  Types.hh
  system_util.hh
  Visual.hh
  World.hh
)

set (sdf_headers "" CACHE INTERNAL "SDF headers" FORCE)
foreach (hdr ${headers})
  set(sdf_headers "${sdf_headers}#include <sdf/${hdr}>\n")
endforeach()
configure_file (${CMAKE_CURRENT_SOURCE_DIR}/sdf.hh.in
                ${CMAKE_CURRENT_BINARY_DIR}/sdf.hh)

sdf_install_includes("" ${headers}
  ${CMAKE_CURRENT_BINARY_DIR}/sdf.hh)