mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
0fa94a9690
-=-=-=-=-=-=-=-=-=-= Build System: -Big clean up of SCons, changed how builds are done to a much cleaner method (check the Github Wiki for instructions). -Deactivated BlackBerry10 (sorry), if no mantainer found (or BlackBerry does not send us a Passort ;), platform will be removed as we have no longer devices to test. Engine: -Removed deprecated object and scene format (was in there just for compatibility, not in use since a long time). -Added ability to open scenes even if a node type was removed (will try to guess the closest type). -Removed deprecated node types.
24 lines
452 B
Plaintext
24 lines
452 B
Plaintext
Import('env')
|
|
|
|
env_modules = env.Clone()
|
|
|
|
Export('env_modules')
|
|
|
|
env.modules_sources=[
|
|
"register_module_types.cpp",
|
|
]
|
|
#env.add_source_files(env.modules_sources,"*.cpp")
|
|
Export('env')
|
|
|
|
for x in env.module_list:
|
|
if (x in env.disabled_modules):
|
|
continue
|
|
env_modules.Append(CPPFLAGS=["-DMODULE_"+x.upper()+"_ENABLED"])
|
|
SConscript(x+"/SCsub")
|
|
|
|
lib = env_modules.Library("modules",env.modules_sources)
|
|
|
|
env.Prepend(LIBS=[lib])
|
|
|
|
|