Move CompareModel to a separate library.
PiperOrigin-RevId: 927174846 Change-Id: Ia8b8b2c8593133d8910399be755e614282bf3252
This commit is contained in:
committed by
Copybara-Service
parent
5ce9a0ad0b
commit
d80a847bae
@@ -14,13 +14,14 @@
|
||||
|
||||
mujoco_test(
|
||||
user_model_test
|
||||
ADDITIONAL_LINK_LIBRARIES absl::str_format
|
||||
ADDITIONAL_LINK_LIBRARIES absl::str_format compare_model
|
||||
)
|
||||
|
||||
mujoco_test(user_objects_test)
|
||||
|
||||
mujoco_test(
|
||||
user_api_test
|
||||
ADDITIONAL_LINK_LIBRARIES compare_model
|
||||
PROPERTIES
|
||||
ENVIRONMENT
|
||||
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:elasticity>"
|
||||
@@ -28,6 +29,7 @@ mujoco_test(
|
||||
|
||||
mujoco_test(
|
||||
user_recompile_test
|
||||
ADDITIONAL_LINK_LIBRARIES compare_model
|
||||
PROPERTIES
|
||||
ENVIRONMENT
|
||||
"MUJOCO_PLUGIN_DIR=$<TARGET_FILE_DIR:elasticity>"
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
#include <mujoco/mjspec.h>
|
||||
#include <mujoco/mjplugin.h>
|
||||
#include "src/xml/xml_api.h"
|
||||
#include "test/compare_model.h"
|
||||
#include "test/fixture.h"
|
||||
|
||||
namespace mujoco {
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
#include <absl/strings/str_format.h>
|
||||
#include <mujoco/mjmodel.h>
|
||||
#include <mujoco/mujoco.h>
|
||||
#include "test/compare_model.h"
|
||||
#include "test/fixture.h"
|
||||
|
||||
namespace mujoco {
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include <mujoco/mjspec.h>
|
||||
#include "src/xml/xml_api.h"
|
||||
#include "src/xml/xml_numeric_format.h"
|
||||
#include "test/compare_model.h"
|
||||
#include "test/fixture.h"
|
||||
|
||||
namespace mujoco {
|
||||
|
||||
Reference in New Issue
Block a user