-
Notifications
You must be signed in to change notification settings - Fork 304
/
Copy pathCMakeLists.txt
84 lines (79 loc) · 1.87 KB
/
CMakeLists.txt
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
74
75
76
77
78
79
80
81
82
83
84
set(TEST_TYPE "INTEGRATION")
set(tests
air_pressure_system.cc
altimeter_system.cc
apply_joint_force_system.cc
battery_plugin.cc
breadcrumbs.cc
buoyancy.cc
collada_world_exporter.cc
components.cc
contact_system.cc
detachable_joint.cc
diff_drive_system.cc
each_new_removed.cc
entity_erase.cc
events.cc
examples_build.cc
imu_system.cc
joint_controller_system.cc
joint_position_controller_system.cc
joint_state_publisher_system.cc
kinetic_energy_monitor_system.cc
lift_drag_system.cc
level_manager.cc
level_manager_runtime_performers.cc
link.cc
logical_camera_system.cc
logical_audio_sensor_plugin.cc
magnetometer_system.cc
model.cc
multicopter.cc
network_handshake.cc
performer_detector.cc
physics_system.cc
play_pause.cc
pose_publisher_system.cc
save_world.cc
scene_broadcaster_system.cc
sdf_frame_semantics.cc
sdf_include.cc
thermal_system.cc
touch_plugin.cc
triggered_publisher.cc
user_commands.cc
velocity_control_system.cc
log_system.cc
wheel_slip.cc
wind_effects.cc
world.cc
)
# Tests that require a valid display
set(tests_needing_display
camera_sensor_background.cc
camera_video_record_system.cc
depth_camera.cc
gpu_lidar.cc
rgbd_camera.cc
sensors_system.cc
)
# Add systems that need a valid display here.
# \todo(anyone) Find a way to run these tests with a virtual display such Xvfb
# or Xdummy instead of skipping them
if(VALID_DISPLAY AND VALID_DRI_DISPLAY)
list(APPEND tests ${tests_needing_display})
else()
message(STATUS
"Skipping these INTEGRATION tests because a valid display was not found:")
foreach(test ${tests_needing_display})
message(STATUS " ${test}")
endforeach(test)
endif()
link_directories(${PROJECT_BINARY_DIR}/test)
include_directories(${PROJECT_SOURCE_DIR}/test)
ign_build_tests(TYPE INTEGRATION
SOURCES
${tests}
LIB_DEPS
${EXTRA_TEST_LIB_DEPS}
)