Move CompareModel to a separate library.

PiperOrigin-RevId: 927174846
Change-Id: Ia8b8b2c8593133d8910399be755e614282bf3252
This commit is contained in:
Yuval Tassa
2026-06-05 02:44:22 -07:00
committed by Copybara-Service
parent 5ce9a0ad0b
commit d80a847bae
14 changed files with 186 additions and 108 deletions
+2
View File
@@ -16,6 +16,7 @@ mujoco_test(xml_api_test)
mujoco_test(
xml_native_reader_test
ADDITIONAL_LINK_LIBRARIES compare_model
)
mujoco_test(xml_utils_test)
@@ -33,6 +34,7 @@ mujoco_test(
xml_write_read_test
ADDITIONAL_LINK_LIBRARIES
absl::flat_hash_set
compare_model
PROPERTIES
ENVIRONMENT
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:elasticity>"
+1
View File
@@ -20,4 +20,5 @@ mujoco_test(
mujoco_test(
mjz_encoder_test
ADDITIONAL_LINK_LIBRARIES compare_model
)
+1
View File
@@ -31,6 +31,7 @@
#include <mujoco/mjspec.h>
#include <mujoco/mujoco.h>
#include "src/xml/xml_numeric_format.h"
#include "test/compare_model.h"
#include "test/fixture.h"
namespace mujoco {
+1
View File
@@ -30,6 +30,7 @@
#include "src/cc/array_safety.h"
#include "src/engine/engine_util_errmem.h"
#include "src/xml/xml_api.h"
#include "test/compare_model.h"
#include "test/fixture.h"
namespace mujoco {
+1
View File
@@ -28,6 +28,7 @@
#include <mujoco/mjmodel.h>
#include <mujoco/mujoco.h>
#include "src/xml/xml_numeric_format.h"
#include "test/compare_model.h"
#include "test/fixture.h"
namespace mujoco {