mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-12 19:39:00 +08:00
Use C++11 in Travis build and appveyor build.
This commit is contained in:
parent
7ce4a42fc3
commit
738a13ebf4
@ -40,5 +40,5 @@ script:
|
|||||||
- export CC="${CC}-${COMPILER_VERSION}"
|
- export CC="${CC}-${COMPILER_VERSION}"
|
||||||
- export CXX="${CXX}-${COMPILER_VERSION}"
|
- export CXX="${CXX}-${COMPILER_VERSION}"
|
||||||
- ${CC} -v
|
- ${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
|
- ./loader_example ./models/Cube/Cube.gltf
|
||||||
|
@ -17,6 +17,7 @@ solution "TinyGLTFSolution"
|
|||||||
kind "ConsoleApp"
|
kind "ConsoleApp"
|
||||||
language "C++"
|
language "C++"
|
||||||
files { sources }
|
files { sources }
|
||||||
|
flags { "c++11" }
|
||||||
|
|
||||||
configuration "Debug"
|
configuration "Debug"
|
||||||
defines { "DEBUG" } -- -DDEBUG
|
defines { "DEBUG" } -- -DDEBUG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user