Changes

Summary

  1. [all] Replace tinyxml by external tinyxml2 (#4240) (details)
Commit 867f45505debdf028df58c2411b42c354275def0 by noreply
[all] Replace tinyxml by external tinyxml2 (#4240)

* Replace tinyxml by external tinyxml2.

* Customize TinyXML2 cmake module to use a find _package or fetch content mechanism.

* Replace find or fetch mechanism by classical cmake find module.

* Fix missed cmake target name change

* Handle error if tinyxml2 package not found but required

* Fix compilation with Dump Visitor activated

* Install libtinyxml

* FIX error checking

* Actually fix...

* FIX error loading VTU xml files

* FIX scene test

---------

Co-authored-by: bakpaul <bakpaul@hotmail.fr>
Co-authored-by: Paul Baksic <30337881+bakpaul@users.noreply.github.com>
The file was modifiedSofa/Component/Visual/CMakeLists.txt (diff)
The file was modifiedSofa/framework/Simulation/Common/CMakeLists.txt (diff)
The file was modifiedexamples/Component/Constraint/Lagrangian/BilateralInteractionConstraint_Rigid.scn (diff)
The file was modifiedSofa/Component/Visual/Sofa.Component.VisualConfig.cmake.in (diff)
The file was modifiedSofa/framework/Simulation/Common/Sofa.Simulation.CommonConfig.cmake.in (diff)
The file was modifiedapplications/projects/Modeler/lib/SofaModelerConfig.cmake.in (diff)
The file was removedextlibs/tinyxml/tinystr.h
The file was modifiedSofa/GUI/Qt/Sofa.GUI.QtConfig.cmake.in (diff)
The file was removedextlibs/tinyxml/TinyXMLConfig.cmake.in
The file was modifiedSofa/GUI/Qt/src/sofa/gui/qt/GraphVisitor.cpp (diff)
The file was modifiedSofa/framework/Simulation/Common/src/sofa/simulation/common/xml/XML.h (diff)
The file was modifiedapplications/projects/Modeler/lib/TutorialSelector.h (diff)
The file was addedcmake/Modules/FindTinyXML2.cmake
The file was modifiedapplications/projects/Modeler/lib/TutorialSelector.cpp (diff)
The file was modifiedSofa/framework/Config/cmake/Modules/FindSOFA.cmake (diff)
The file was removedextlibs/tinyxml/tinystr.cpp
The file was removedextlibs/tinyxml/tinyxmlparser.cpp
The file was modifiedapplications/projects/xmlconvert-displayflags/xmlvisitor.h (diff)
The file was removedextlibs/tinyxml/changes.txt
The file was removedextlibs/tinyxml/tinyxml.h
The file was modifiedapplications/projects/Modeler/lib/CMakeLists.txt (diff)
The file was modifiedSofa/Component/Mass/tests/UniformMass_test.cpp (diff)
The file was modifiedSofa/Component/IO/Mesh/src/sofa/component/io/mesh/MeshVTKLoader.cpp (diff)
The file was modifiedextlibs/CMakeLists.txt (diff)
The file was modifiedapplications/projects/xmlconvert-displayflags/xmlvisitor.cpp (diff)
The file was removedextlibs/tinyxml/tinyxml.cpp
The file was modifiedSofa/GUI/Qt/CMakeLists.txt (diff)
The file was removedextlibs/tinyxml/tinyxmlerror.cpp
The file was modifiedSofa/Component/Visual/src/sofa/component/visual/BaseCamera.cpp (diff)
The file was modifiedSofa/GUI/Qt/src/sofa/gui/qt/GraphVisitor.h (diff)
The file was modifiedSofa/framework/Simulation/Common/src/sofa/simulation/common/xml/XML.cpp (diff)
The file was removedextlibs/tinyxml/readme.txt
The file was modifiedSofa/Component/IO/Mesh/CMakeLists.txt (diff)
The file was modifiedapplications/projects/xmlconvert-displayflags/main.cpp (diff)
The file was modifiedapplications/projects/xmlconvert-displayflags/CMakeLists.txt (diff)
The file was modifiedexamples/Component/IO/Mesh/GIDMeshLoader.scn (diff)
The file was removedextlibs/tinyxml/CMakeLists.txt