Initial commit
This commit is contained in:
18
modules/world/SCsub
Normal file
18
modules/world/SCsub
Normal file
@@ -0,0 +1,18 @@
|
||||
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'])
|
||||
|
||||
Reference in New Issue
Block a user