Move schema related generated files into their own directory
PiperOrigin-RevId: 958296165 Change-Id: I48cacc72c7df5994f5f816489ba069a5813845a1
This commit is contained in:
committed by
Copybara-Service
parent
5e99ca6cb8
commit
b475bb6f36
@@ -19,8 +19,8 @@
|
||||
// the generated tables. Inline variables: including this header is all a
|
||||
// translation unit needs.
|
||||
|
||||
#ifndef MUJOCO_SRC_XML_MJCF_MAP_H_
|
||||
#define MUJOCO_SRC_XML_MJCF_MAP_H_
|
||||
#ifndef MUJOCO_SRC_XML_GENERATED_MJCF_MAP_H_
|
||||
#define MUJOCO_SRC_XML_GENERATED_MJCF_MAP_H_
|
||||
|
||||
#include <mujoco/mjspec.h>
|
||||
#include <mujoco/mjtype.h>
|
||||
@@ -486,4 +486,4 @@ inline constexpr mjMap flexeq_map[] = {
|
||||
inline constexpr int flexeq_sz = 4;
|
||||
// clang-format on
|
||||
|
||||
#endif // MUJOCO_SRC_XML_MJCF_MAP_H_
|
||||
#endif // MUJOCO_SRC_XML_GENERATED_MJCF_MAP_H_
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
|
||||
|
||||
// keyword maps, one per schema enum, generated into mjcf_map.h
|
||||
#include "xml/mjcf_map.h" // IWYU pragma: export
|
||||
#include "xml/generated/mjcf_map.h" // IWYU pragma: export
|
||||
|
||||
//---------------------------------- Base XML class ------------------------------------------------
|
||||
|
||||
|
||||
@@ -165,13 +165,13 @@ static void UpdateString(string& psuffix, int count, int i) {
|
||||
|
||||
|
||||
//---------------------------------- MJCF schema ---------------------------------------------------
|
||||
#include "mjcf_table.inc"
|
||||
#include "xml/generated/mjcf_table.inc"
|
||||
|
||||
//---------------------------------- class mjXReader implementation --------------------------------
|
||||
|
||||
// typed attribute rows, generated from mjcf.schema; the keyword maps the
|
||||
// rows reference are generated into mjcf_map.h
|
||||
#include "mjcf_read_table.inc"
|
||||
#include "xml/generated/mjcf_read_table.inc"
|
||||
|
||||
|
||||
mjXReader::mjXReader()
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include "tinyxml2.h"
|
||||
|
||||
// typed attribute rows, generated from mjcf.schema; shared with the reader
|
||||
#include "mjcf_read_table.inc"
|
||||
#include "xml/generated/mjcf_read_table.inc"
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user