19 lines
458 B
Plaintext
19 lines
458 B
Plaintext
Import('env')
|
|
Import('env_modules')
|
|
|
|
env_world = env_modules.Clone()
|
|
|
|
# TODO Exclude editor stuff when building an export template?
|
|
files = [
|
|
"*.cpp",
|
|
"mesher/*.cpp"
|
|
]
|
|
|
|
for f in files:
|
|
env_world.add_source_files(env.modules_sources, f)
|
|
|
|
# Ignored clang warnings because Godot's codebase is old and isn't using override yet
|
|
if env['platform'] == 'osx' or env['platform'] == 'android':
|
|
env_world.Append(CXXFLAGS=['-Wno-inconsistent-missing-override'])
|
|
|