Fix missing compiler and some C++ errors

This commit is contained in:
Twarit
2020-03-30 13:30:27 +05:30
parent 07876bff06
commit db05e54d00
2 changed files with 2 additions and 1 deletions

View File

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

View File

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