mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-07-10 06:11:49 +08:00
Update build script.
This commit is contained in:
parent
5b40745f7a
commit
168da25539
13
README.md
13
README.md
@ -1,12 +1,10 @@
|
|||||||
# Header only C++ tiny glTF library(loader/saver).
|
# Header only C++ tiny glTF library(loader/saver).
|
||||||
|
|
||||||
`TinyGLTF` is a header only C++ glTF https://github.com/KhronosGroup/glTF library.
|
`TinyGLTF` is a header only C++ glTF 2.0 https://github.com/KhronosGroup/glTF library.
|
||||||
|
|
||||||

|
[](https://travis-ci.org/syoyo/tinygltf)
|
||||||
|
|
||||||
[](https://travis-ci.org/syoyo/tinygltfloader)
|
[](https://ci.appveyor.com/project/syoyo/tinygltf)
|
||||||
|
|
||||||
[](https://ci.appveyor.com/project/syoyo/tinygltfloader)
|
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
@ -30,14 +28,11 @@
|
|||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
* [glview](examples/glview) : Simple glTF geometry viewer.
|
* [glview](examples/glview) : Simple glTF geometry viewer.
|
||||||
* [writer](examples/writer) : Simple glTF writer(serialize `tinygltf::Model` class)
|
|
||||||
* [alembic_to_gltf](examples/alembic_to_gltf) : Simple Alembic to glTF converter.
|
|
||||||
* [cyhair_to_gltf](examples/cyhair_to_gltf) : Simple CyHair(hair curves) to glTF converter.
|
|
||||||
|
|
||||||
## TODOs
|
## TODOs
|
||||||
|
|
||||||
* [ ] Write C++ code generator from json schema for robust parsing.
|
* [ ] Write C++ code generator from json schema for robust parsing.
|
||||||
* [ ] Write serialization example.
|
* [ ] Serialization
|
||||||
* [ ] Compression/decompression(Open3DGC, etc)
|
* [ ] Compression/decompression(Open3DGC, etc)
|
||||||
* [ ] Support `extensions` and `extras` property
|
* [ ] Support `extensions` and `extras` property
|
||||||
* [ ] HDR image?
|
* [ ] HDR image?
|
||||||
|
@ -9,4 +9,4 @@ configuration: Release
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
parallel: true
|
parallel: true
|
||||||
project: TinyGLTFLoaderSolution.sln
|
project: TinyGLTFSolution.sln
|
||||||
|
@ -3,7 +3,7 @@ sources = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- premake4.lua
|
-- premake4.lua
|
||||||
solution "TinyGLTFLoaderSolution"
|
solution "TinyGLTFSolution"
|
||||||
configurations { "Release", "Debug" }
|
configurations { "Release", "Debug" }
|
||||||
|
|
||||||
if (os.is("windows")) then
|
if (os.is("windows")) then
|
||||||
@ -13,7 +13,7 @@ solution "TinyGLTFLoaderSolution"
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- A project defines one build target
|
-- A project defines one build target
|
||||||
project "tinygltfloader"
|
project "tinygltf"
|
||||||
kind "ConsoleApp"
|
kind "ConsoleApp"
|
||||||
language "C++"
|
language "C++"
|
||||||
files { sources }
|
files { sources }
|
||||||
@ -21,9 +21,9 @@ solution "TinyGLTFLoaderSolution"
|
|||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" } -- -DDEBUG
|
defines { "DEBUG" } -- -DDEBUG
|
||||||
flags { "Symbols" }
|
flags { "Symbols" }
|
||||||
targetname "loader_example_tinygltfloader_debug"
|
targetname "loader_example_tinygltf_debug"
|
||||||
|
|
||||||
configuration "Release"
|
configuration "Release"
|
||||||
-- defines { "NDEBUG" } -- -NDEBUG
|
-- defines { "NDEBUG" } -- -NDEBUG
|
||||||
flags { "Symbols", "Optimize" }
|
flags { "Symbols", "Optimize" }
|
||||||
targetname "loader_example_tinygltfloader"
|
targetname "loader_example_tinygltf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user