Delete derivative code sample.
PiperOrigin-RevId: 573477509 Change-Id: I0e619e36dd3fe677a27bbbdac87a15f04670cc13
This commit is contained in:
committed by
Copybara-Service
parent
c0357ef3d0
commit
a1b6026b8c
@@ -76,18 +76,12 @@ target_compile_options(compile PUBLIC ${MUJOCO_SAMPLE_COMPILE_OPTIONS})
|
||||
target_link_libraries(compile Threads::Threads)
|
||||
target_link_options(compile PRIVATE ${MUJOCO_SAMPLE_LINK_OPTIONS})
|
||||
|
||||
add_executable(derivative derivative.cc)
|
||||
target_compile_options(derivative PUBLIC ${MUJOCO_SAMPLE_COMPILE_OPTIONS})
|
||||
target_link_libraries(derivative Threads::Threads)
|
||||
target_link_options(derivative PRIVATE ${MUJOCO_SAMPLE_LINK_OPTIONS})
|
||||
|
||||
add_executable(testspeed testspeed.cc)
|
||||
target_compile_options(testspeed PUBLIC ${MUJOCO_SAMPLE_COMPILE_OPTIONS})
|
||||
target_link_libraries(testspeed Threads::Threads)
|
||||
target_link_options(testspeed PRIVATE ${MUJOCO_SAMPLE_LINK_OPTIONS})
|
||||
|
||||
target_link_libraries(compile mujoco::mujoco)
|
||||
target_link_libraries(derivative mujoco::mujoco)
|
||||
target_link_libraries(testspeed mujoco::mujoco)
|
||||
|
||||
# Build samples that require GLFW.
|
||||
@@ -115,7 +109,6 @@ target_link_options(record PRIVATE ${MUJOCO_SAMPLE_LINK_OPTIONS})
|
||||
if(APPLE AND MUJOCO_BUILD_MACOS_FRAMEWORKS)
|
||||
embed_in_bundle(basic simulate)
|
||||
embed_in_bundle(compile simulate)
|
||||
embed_in_bundle(derivative simulate)
|
||||
embed_in_bundle(record simulate)
|
||||
embed_in_bundle(testspeed simulate)
|
||||
endif()
|
||||
@@ -134,7 +127,6 @@ if(_INSTALL_SAMPLES)
|
||||
TARGETS
|
||||
basic
|
||||
compile
|
||||
derivative
|
||||
record
|
||||
testspeed
|
||||
INSTALL_DIRECTORY
|
||||
@@ -148,7 +140,6 @@ if(_INSTALL_SAMPLES)
|
||||
install(
|
||||
TARGETS basic
|
||||
compile
|
||||
derivative
|
||||
record
|
||||
testspeed
|
||||
EXPORT ${PROJECT_NAME}
|
||||
|
||||
Reference in New Issue
Block a user