Skip to content
Snippets Groups Projects
Commit 7408afb7 authored by BERTHAUT Florent's avatar BERTHAUT Florent
Browse files

Added update script and fixed scons on osx

parent b2a24dd5
No related branches found
No related tags found
No related merge requests found
......@@ -51,9 +51,11 @@ if env['platform'] == "osx":
cpp_library += '.osx'
if env['target'] in ('debug', 'd'):
env.Append(CCFLAGS=['-g', '-O2', '-arch', 'x86_64'])
env.Append(CXXFLAGS=['-std=c++17'])
env.Append(LINKFLAGS=['-arch', 'x86_64'])
else:
env.Append(CCFLAGS=['-g', '-O3', '-arch', 'x86_64'])
env.Append(CXXFLAGS=['-std=c++17'])
env.Append(LINKFLAGS=['-arch', 'x86_64'])
elif env['platform'] in ('x11', 'linux'):
......
#!/bin/bash
git submodule update --init --recursive
cd src/godot-cpp
scons platform=$1 generate_bindings=yes
cd ../..
scons platform=$1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment