diff --git a/.travis.yml b/.travis.yml index e9641f3..3204eaf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,12 +60,12 @@ install: - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then curl -LO https://downloads.sourceforge.net/project/scons/scons-local/3.0.5/scons-local-3.0.5.zip; unzip scons-local-3.0.5.zip; + choco install visualstudio2017-workload-vctools -y fi script: - if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then export SCONS="./scons.bat"; - /c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/Common7/Tools/VsDevCmd.bat; ./build_libs.bat $TARGET; else export SCONS="scons"; diff --git a/SConstruct b/SConstruct index 2d1ae1f..e7567c0 100644 --- a/SConstruct +++ b/SConstruct @@ -81,6 +81,7 @@ else: cpp_library += '.release' env['target_path'] += 'release/' +env.Append(CXXFLAGS = '-std=c++17') cpp_library += '.' + str(bits) # make sure our binding library properly includes