mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-04-23 22:50:11 +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).
|
||||
|
||||
`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/tinygltfloader)
|
||||
[](https://ci.appveyor.com/project/syoyo/tinygltf)
|
||||
|
||||
## Features
|
||||
|
||||
@ -30,14 +28,11 @@
|
||||
## Examples
|
||||
|
||||
* [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
|
||||
|
||||
* [ ] Write C++ code generator from json schema for robust parsing.
|
||||
* [ ] Write serialization example.
|
||||
* [ ] Serialization
|
||||
* [ ] Compression/decompression(Open3DGC, etc)
|
||||
* [ ] Support `extensions` and `extras` property
|
||||
* [ ] HDR image?
|
||||
|
@ -9,4 +9,4 @@ configuration: Release
|
||||
|
||||
build:
|
||||
parallel: true
|
||||
project: TinyGLTFLoaderSolution.sln
|
||||
project: TinyGLTFSolution.sln
|
||||
|
@ -3,7 +3,7 @@ sources = {
|
||||
}
|
||||
|
||||
-- premake4.lua
|
||||
solution "TinyGLTFLoaderSolution"
|
||||
solution "TinyGLTFSolution"
|
||||
configurations { "Release", "Debug" }
|
||||
|
||||
if (os.is("windows")) then
|
||||
@ -13,7 +13,7 @@ solution "TinyGLTFLoaderSolution"
|
||||
end
|
||||
|
||||
-- A project defines one build target
|
||||
project "tinygltfloader"
|
||||
project "tinygltf"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
files { sources }
|
||||
@ -21,9 +21,9 @@ solution "TinyGLTFLoaderSolution"
|
||||
configuration "Debug"
|
||||
defines { "DEBUG" } -- -DDEBUG
|
||||
flags { "Symbols" }
|
||||
targetname "loader_example_tinygltfloader_debug"
|
||||
targetname "loader_example_tinygltf_debug"
|
||||
|
||||
configuration "Release"
|
||||
-- defines { "NDEBUG" } -- -NDEBUG
|
||||
flags { "Symbols", "Optimize" }
|
||||
targetname "loader_example_tinygltfloader"
|
||||
targetname "loader_example_tinygltf"
|
||||
|
Loading…
x
Reference in New Issue
Block a user