mirror of
https://github.com/godotengine/godot
synced 2024-11-05 16:53:09 +00:00
17 lines
503 B
Python
17 lines
503 B
Python
#!/usr/bin/env python
|
|
|
|
Import('env')
|
|
|
|
gdn_env = env.Clone()
|
|
|
|
gdn_env.add_source_files(env.modules_sources, "*.cpp")
|
|
gdn_env.add_source_files(env.modules_sources, "gdnative/*.cpp")
|
|
gdn_env.add_source_files(env.modules_sources, "nativescript/*.cpp")
|
|
|
|
gdn_env.Append(CPPFLAGS=['-DGDAPI_BUILT_IN'])
|
|
gdn_env.Append(CPPPATH=['#modules/gdnative/include/'])
|
|
|
|
if "platform" in env and env["platform"] == "x11": # there has to be a better solution?
|
|
env.Append(LINKFLAGS=["-rdynamic"])
|
|
|
|
env.use_ptrcall = True
|