mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-08 14:09:47 +03:00
Fix missing semicolon in travis file + use C++17 in CI build
This commit is contained in:
@@ -60,7 +60,7 @@ 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
|
||||
choco install visualstudio2017-workload-vctools -y;
|
||||
fi
|
||||
|
||||
script:
|
||||
|
||||
@@ -48,7 +48,7 @@ if env['platform'] == "osx":
|
||||
env.Append(CCFLAGS = ['-g','-O2', '-arch', 'x86_64'])
|
||||
env.Append(LINKFLAGS = ['-arch', 'x86_64'])
|
||||
else:
|
||||
env.Append(CCFLAGS = ['-g','-O3', '-arch', 'x86_64'])
|
||||
env.Append(CCFLAGS = ['-g','-O3', '-arch', 'x86_64', '-std=c++17'])
|
||||
env.Append(LINKFLAGS = ['-arch', 'x86_64'])
|
||||
|
||||
elif env['platform'] in ('x11', 'linux'):
|
||||
@@ -81,7 +81,6 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user