Include obj and stl decoder plugins as sources in CMake builds.
This removes the need to load these decoders via mj_loadAllPluginLibraries when using MuJoCo built with CMake. Other plugins are unchanged. PiperOrigin-RevId: 897114719 Change-Id: Iee914cc5e05798186f384a67901f1cf86bc2f887
This commit is contained in:
committed by
Copybara-Service
parent
81720071b8
commit
a744b366fb
@@ -14,9 +14,6 @@
|
||||
|
||||
mujoco_test(
|
||||
user_model_test
|
||||
PROPERTIES
|
||||
ENVIRONMENT
|
||||
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:obj_decoder>"
|
||||
ADDITIONAL_LINK_LIBRARIES absl::str_format
|
||||
)
|
||||
|
||||
@@ -31,16 +28,10 @@ mujoco_test(
|
||||
|
||||
mujoco_test(
|
||||
user_flex_test
|
||||
PROPERTIES
|
||||
ENVIRONMENT
|
||||
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:obj_decoder>"
|
||||
)
|
||||
|
||||
mujoco_test(
|
||||
user_mesh_test
|
||||
PROPERTIES
|
||||
ENVIRONMENT
|
||||
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:obj_decoder>"
|
||||
ADDITIONAL_LINK_LIBRARIES absl::str_format
|
||||
)
|
||||
|
||||
|
||||
@@ -16,9 +16,6 @@ mujoco_test(xml_api_test)
|
||||
|
||||
mujoco_test(
|
||||
xml_native_reader_test
|
||||
PROPERTIES
|
||||
ENVIRONMENT
|
||||
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:obj_decoder>"
|
||||
)
|
||||
|
||||
mujoco_test(xml_utils_test)
|
||||
|
||||
Reference in New Issue
Block a user