new and free change, custom free will crash engine, be wary

This commit is contained in:
karroffel
2018-03-11 11:43:06 +01:00
parent e9517a7b3b
commit a4a9a16001
7 changed files with 55 additions and 26 deletions

View File

@@ -81,7 +81,7 @@ elif target_platform == 'osx':
env.Append(LINKFLAGS = [ '-arch', 'x86_64', '-framework', 'Cocoa', '-Wl,-undefined,dynamic_lookup' ])
env.Append(CPPPATH=['.', godot_headers, 'include', 'include/core'])
env.Append(CPPPATH=['.', godot_headers, 'include', 'include/gen', 'include/core'])
# Generate bindings?
json_api_file = ''
@@ -100,7 +100,7 @@ if ARGUMENTS.get('generate_bindings', 'no') == 'yes':
sources = []
add_sources(sources, 'src/core', 'cpp')
add_sources(sources, 'src', 'cpp')
add_sources(sources, 'src/gen', 'cpp')
library = env.StaticLibrary(target=result_path + '/' + result_name, source=sources)