Kim Kulling c1d6226c06 Update/update pugi xml (#6229)
* update pugixml

Improvements:

Many xml_attribute:: and xml_node:: functions now transparently support std::string_view and std::string when C++17 support is detected.
CMake improvements:

Improve pkg-config file generation for NixOS
PUGIXML_BUILD_APPLE_FRAMEWORK CMake option can be used to build pugixml as .xcframework
PUGIXML_INSTALL CMake option can be used to disable installation targets
Compatibility improvements:

Fix clang/gcc warnings -Wzero-as-null-pointer-constant, -Wuseless-cast, -Wshorten-64-to-32
Fix unreferenced function warnings in PUGIXML_NO_STL configuration
Fix CMake 3.31 deprecation warnings
Stop using deprecated throw() when noexcept is available

Improvements:

xml_attribute::set_name and xml_node::set_name now have overloads that accept pointer to non-null-terminated string and size
Implement parse_merge_pcdata parsing mode in which PCDATA contents is merged into a single node when original document had comments that were skipped during parsing
xml_document::load_file now returns a more consistent error status when given a path to a folder
Bug fixes:

Fix assertion in XPath number→string conversion when using non-English locales
Fix PUGIXML_STATIC_CRT CMake option to correctly select static CRT when using MSVC and recent CMake
Compatibility improvements:

Fix GCC 2.95/3.3 builds
Fix CMake 3.27 deprecation warnings
Fix XCode 14 sprintf deprecation warning when compiling in C++03 mode
Fix clang/gcc warnings -Wweak-vtables, -Wreserved-macro-identifier

* Update CMakeLists.txt

* pugixml: upgrade to v1.15

* pugixml: Add export directives for non-windows platforms

* pugixml: replace NULL by nullptr.

---------

Co-authored-by: Andrea <realeandrea@yahoo.it>
Co-authored-by: mosfet80 <10235105+mosfet80@users.noreply.github.com>
2025-06-08 02:12:05 +02:00
2025-06-08 02:12:05 +02:00
2025-06-08 02:12:05 +02:00
2025-03-26 00:12:55 +01:00
2025-05-11 21:11:54 +02:00
2025-03-26 00:12:55 +01:00
2025-03-05 21:37:47 +01:00
2025-03-26 00:12:55 +01:00
2020-04-03 00:44:44 +02:00
2025-05-16 11:34:54 +02:00
2025-03-26 00:12:55 +01:00
2025-06-08 02:12:05 +02:00
2023-03-22 20:00:09 +01:00
2018-06-10 19:10:38 +02:00
2025-03-26 00:12:55 +01:00
2025-03-26 00:12:55 +01:00
2025-03-26 00:12:55 +01:00
2021-04-03 12:09:23 +02:00
2025-03-26 00:12:55 +01:00
2025-03-26 00:12:55 +01:00

Open Asset Import Library (assimp)

Open Asset Import Library is a library that loads various 3D file formats into a shared, in-memory format. It supports more than 40 file formats for import and a growing selection of file formats for export.

Current project status

C/C++ CI Codacy Badge Quality Gate Status Average time to resolve an issue Percentage of issues still open Gurubase Financial Contributors on Open Collective

APIs are provided for C and C++. Various bindings exist to other languages (C#, Java, Python, Delphi, D). Assimp also runs on Android and iOS. Additionally, assimp features various mesh post-processing tools: normals and tangent space generation, triangulation, vertex cache locality optimization, removal of degenerate primitives and duplicate vertices, sorting by primitive type, merging of redundant materials and many more.

Project activity

Alt

Documentation

Read our latest documentation.

Pre-built binaries

Download binaries from our Itchi Projectspace.

Test data

Clone our model database.

Communities

Supported file formats

See the complete list of supported formats.

Building

Start by reading our build instructions. We are available in vcpkg, and our build system is CMake; if you used CMake before there is a good chance you know what to do.

Ports

Other tools

Qt5-ModelViewer is a powerful viewer based on Qt5 and Assimp's import and export abilities.
Assimp-Viewer is an experimental implementation for an Asset-Viewer based on ImGUI and Assimp (experimental).

Repository structure

Open Asset Import Library is implemented in C++. The directory structure looks like this:

/code		Source code
/contrib	Third-party libraries
/doc		Documentation (Doxygen source and pre-compiled docs)
/fuzz           Contains the test code for the Google Fuzzer project
/include	Public header C and C++ header files
/scripts 	Scripts are used to generate the loading code for some formats
/port		Ports to other languages and scripts to maintain those.
/test		Unit- and regression tests, test suite of models
/tools		Tools (old assimp viewer, command line `assimp`)
/samples	A small number of samples to illustrate possible use cases for Assimp

The source code is organized in the following way:

code/Common			The base implementation for importers and the infrastructure
code/CApi                       Special implementations which are only used for the C-API
code/Geometry                   A collection of geometry tools
code/Material                   The material system
code/PBR                        An exporter for physical-based models
code/PostProcessing		The post-processing steps
code/AssetLib/<FormatName>	Implementation for import and export of the format

Contributing

I would greatly appreciate contributing to assimp. The easiest way to get involved is to submit a pull request with your changes against the main repository's master branch.

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

You can support the project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

Our license is based on the modified, 3-clause BSD-License.

An informal summary is: do whatever you want, but include Assimp's license text with your product - and don't sue us if our code doesn't work. Note that, unlike LGPLed code, you may link statically to Assimp. For the legal details, see the LICENSE file.

Description
No description provided
Readme BSD-3-Clause 311 MiB
Languages
C++ 65.3%
COBOL 15.3%
C 11.2%
Python 2.1%
CMake 1.8%
Other 4%