mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-06 02:09:44 +03:00
Fix missing compiler and some C++ errors
This commit is contained in:
@@ -60,12 +60,12 @@ install:
|
|||||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
- 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;
|
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;
|
unzip scons-local-3.0.5.zip;
|
||||||
|
choco install visualstudio2017-workload-vctools -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then
|
||||||
export SCONS="./scons.bat";
|
export SCONS="./scons.bat";
|
||||||
/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio/2017/BuildTools/Common7/Tools/VsDevCmd.bat;
|
|
||||||
./build_libs.bat $TARGET;
|
./build_libs.bat $TARGET;
|
||||||
else
|
else
|
||||||
export SCONS="scons";
|
export SCONS="scons";
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ else:
|
|||||||
cpp_library += '.release'
|
cpp_library += '.release'
|
||||||
env['target_path'] += 'release/'
|
env['target_path'] += 'release/'
|
||||||
|
|
||||||
|
env.Append(CXXFLAGS = '-std=c++17')
|
||||||
cpp_library += '.' + str(bits)
|
cpp_library += '.' + str(bits)
|
||||||
|
|
||||||
# make sure our binding library properly includes
|
# make sure our binding library properly includes
|
||||||
|
|||||||
Reference in New Issue
Block a user