Commit Graph

16 Commits

Author SHA1 Message Date
Lars Müller 0faf1320c5 Move from tinygltf to tiniergltf (#13)
* Remove tinygltf

* Integrate tiniergltf

* Update build.yml to include jsoncpp

* Namespace target

* Undo noexcept removal, readd move constructor

* Remove debug throw

* Remove now obsolete build code

* Bump CMake minimum version to 3.12

* Fix oops

* Remove unnecessary install/export

* Remove tinygltf from Config.cmake.in

* Take inspiration from Minetest's FindJson.cmake

* Move tiniergltf to separate repo

* CI: Install git

* Bump tiniergltf version (obtain jsoncpp via FetchContent)

* Remove jsoncpp from build dependency list
2024-04-18 07:37:10 -05:00
JosiahWI eabc84a420 Do not install tinygltf export from Irrlicht 2024-04-18 07:33:37 -05:00
JosiahWI 2dbe3b866a Fix CMake tinygltf dependencies 2024-04-18 07:25:37 -05:00
JosiahWI 7e0d57b4fe Reorganize CGLTFMeshFileLoader help functions
I moved them all into static methods and changed the ordering in the
source file so that createMesh() would be close to the top of the file.
I also corrected formatting in some of the function declarations since I
had to change them anyway.
2024-04-18 07:25:34 -05:00
JosiahWI 9f2d5a1b8a Fix indentation style in CMakeLists 2024-04-18 07:24:52 -05:00
JosiahWI c9e05c6e9a Work around cmake<3.12 object target rules
CMake does not allow specifying usage requirements with
target_link_libraries() until version 3.12.
2024-04-18 07:24:31 -05:00
JosiahWI 246ee9c3ca Register Catch2 tests with CTest 2024-04-18 07:22:24 -05:00
JosiahWI 21c3c16557 Test invalid JSON
Also converted all .cpp and .h line endings to CRLF in this commit.
2024-04-18 07:19:30 -05:00
JosiahWI 8c9c1e57ea Specify all source fools directly on IrrlichtMt 2024-04-18 07:19:12 -05:00
JosiahWI 92862a3a2d Add test file for glTF mesh loading 2024-04-18 07:16:20 -05:00
JosiahWI bde174d1a0 Add GLTF mesh file loader 2024-04-18 07:14:20 -05:00
JosiahWI a0b7a15693 Do CMake right 2024-04-18 07:10:56 -05:00
JosiahWI a3b2dbdebb Export tinygltf target 2024-04-18 07:10:04 -05:00
JosiahWI 36a90e9973 Add tinygltf library 2024-04-18 07:08:45 -05:00
sfan5 124708784f Restore buildability with SDL 2.0.10 2024-03-21 22:48:22 +01:00
Desour bcb952c3ca Move source/Irrlicht/ to src/ 2024-03-21 22:08:26 +01:00