mirror of
https://github.com/syoyo/tinygltf.git
synced 2026-09-19 00:34:32 +00:00
Use C++11 in Travis build and appveyor build.
This commit is contained in:
@@ -40,5 +40,5 @@ script:
|
||||
- export CC="${CC}-${COMPILER_VERSION}"
|
||||
- export CXX="${CXX}-${COMPILER_VERSION}"
|
||||
- ${CC} -v
|
||||
- ${CXX} ${EXTRA_CXXFLAGS} -Wall -g -o loader_example loader_example.cc
|
||||
- ${CXX} ${EXTRA_CXXFLAGS} -std=c++11 -Wall -g -o loader_example loader_example.cc
|
||||
- ./loader_example ./models/Cube/Cube.gltf
|
||||
|
||||
@@ -17,6 +17,7 @@ solution "TinyGLTFSolution"
|
||||
kind "ConsoleApp"
|
||||
language "C++"
|
||||
files { sources }
|
||||
flags { "c++11" }
|
||||
|
||||
configuration "Debug"
|
||||
defines { "DEBUG" } -- -DDEBUG
|
||||
|
||||
Reference in New Issue
Block a user