From a436204dfc4ea0a06cfbc424da345e5cd4415886 Mon Sep 17 00:00:00 2001 From: Syoyo Fujita Date: Mon, 5 Jun 2017 01:58:26 +0900 Subject: [PATCH] Update build script. --- README.md | 13 ++++--------- appveyor.yml | 2 +- premake4.lua | 8 ++++---- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 61b0ed5..e8a3715 100644 --- a/README.md +++ b/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. -![](images/glview_duck.png) +[![Build Status](https://travis-ci.org/syoyo/tinygltf.svg?branch=master)](https://travis-ci.org/syoyo/tinygltf) -[![Build Status](https://travis-ci.org/syoyo/tinygltfloader.svg?branch=master)](https://travis-ci.org/syoyo/tinygltfloader) - -[![Build status](https://ci.appveyor.com/api/projects/status/i5ku97hf0r0quti3?svg=true)](https://ci.appveyor.com/project/syoyo/tinygltfloader) +[![Build status](https://ci.appveyor.com/api/projects/status/warngenu9wjjhlm8?svg=true)](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? diff --git a/appveyor.yml b/appveyor.yml index f7ffacd..e6fb52a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,4 +9,4 @@ configuration: Release build: parallel: true - project: TinyGLTFLoaderSolution.sln + project: TinyGLTFSolution.sln diff --git a/premake4.lua b/premake4.lua index 0d58fe7..3475ad7 100644 --- a/premake4.lua +++ b/premake4.lua @@ -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"