mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
15 lines
356 B
Python
15 lines
356 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
env.add_source_files(env.modules_sources, "*.cpp")
|
|
env.add_source_files(env.modules_sources, "godot/*.cpp")
|
|
|
|
env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
|
|
|
|
if "platform" in env and env["platform"] == "x11": # there has to be a better solution?
|
|
env.Append(LINKFLAGS=["-rdynamic"])
|
|
env.use_ptrcall = True
|
|
|
|
Export('env')
|