From fd0213387092b03cf53e2d474f75535fca41a293 Mon Sep 17 00:00:00 2001 From: "Addisu Z. Taddese" Date: Thu, 16 Jan 2025 00:51:14 +0100 Subject: [PATCH] Add missed spec version 1.12 in the sdf_descriptions target (#1529) This also updates the default versions in root.sdf files Signed-off-by: Addisu Z. Taddese (cherry picked from commit fd0292a4d9c81221b7ce6770c76b3f46c9cfa34b) # Conflicts: # sdf/1.12/root.sdf --- sdf/1.11/root.sdf | 2 +- sdf/1.12/root.sdf | 21 +++++++++++++++++++++ sdf/CMakeLists.txt | 2 +- 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 sdf/1.12/root.sdf diff --git a/sdf/1.11/root.sdf b/sdf/1.11/root.sdf index 94ecc8731..fdca73f1f 100644 --- a/sdf/1.11/root.sdf +++ b/sdf/1.11/root.sdf @@ -1,7 +1,7 @@ SDFormat base element that can include one model, actor, light, or worlds. A user of multiple worlds could run parallel instances of simulation, or offer selection of a world at runtime. - + Version number of the SDFormat specification, consisting of major and minor versions delimited by a `.` character. diff --git a/sdf/1.12/root.sdf b/sdf/1.12/root.sdf new file mode 100644 index 000000000..fbf86c770 --- /dev/null +++ b/sdf/1.12/root.sdf @@ -0,0 +1,21 @@ + + SDFormat base element that can include one model, actor, light, or worlds. A user of multiple worlds could run parallel instances of simulation, or offer selection of a world at runtime. + + + + Version number of the SDFormat specification, consisting of major + and minor versions delimited by a `.` character. + A major version bump is required if older versions cannot be + automatically converted to this version. + A minor version bump is required when there are breaking changes that + can be handled by the automatic conversion functionality encoded in the + `*.convert` files. + + + + + + + + + diff --git a/sdf/CMakeLists.txt b/sdf/CMakeLists.txt index 10e789bfa..787b572bc 100644 --- a/sdf/CMakeLists.txt +++ b/sdf/CMakeLists.txt @@ -31,7 +31,7 @@ execute_process( if (GZ_PROGRAM) # Update this list as new sdformat spec versions are added. - set(sdf_desc_versions 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11) + set(sdf_desc_versions 1.4 1.5 1.6 1.7 1.8 1.9 1.10 1.11 1.12) set(description_targets) foreach(desc_ver ${sdf_desc_versions})