Use C++11 in Travis build and appveyor build.

This commit is contained in:
Syoyo Fujita 2017-12-02 21:22:58 +09:00
parent 7ce4a42fc3
commit 738a13ebf4
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -17,6 +17,7 @@ solution "TinyGLTFSolution"
kind "ConsoleApp"
language "C++"
files { sources }
flags { "c++11" }
configuration "Debug"
defines { "DEBUG" } -- -DDEBUG