You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
set(config_sitl_viewer jmavsim CACHE STRING "viewer for sitl")
|
|
|
|
set_property(CACHE config_sitl_viewer PROPERTY STRINGS "jmavsim;none")
|
|
|
|
|
|
|
|
set(config_sitl_debugger disable CACHE STRING "debugger for sitl")
|
|
|
|
set_property(CACHE config_sitl_debugger PROPERTY STRINGS "disable;gdb;lldb")
|
|
|
|
|
|
|
|
# If the environment variable 'replay' is defined, we are building with replay
|
|
|
|
# support. In this case, we enable the orb publisher rules.
|
|
|
|
set(REPLAY_FILE "$ENV{replay}")
|
|
|
|
if(REPLAY_FILE)
|
|
|
|
message(STATUS "Building with uorb publisher rules support")
|
|
|
|
add_definitions(-DORB_USE_PUBLISHER_RULES)
|
|
|
|
|
|
|
|
message(STATUS "Building without lockstep for replay")
|
|
|
|
set(ENABLE_LOCKSTEP_SCHEDULER no)
|
|
|
|
elseif(CMAKE_BUILD_TYPE STREQUAL FuzzTesting)
|
|
|
|
set(ENABLE_LOCKSTEP_SCHEDULER no)
|
|
|
|
else()
|
|
|
|
set(ENABLE_LOCKSTEP_SCHEDULER yes)
|
|
|
|
endif()
|