diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-20 10:41:39 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-20 11:02:49 +0100 |
commit | 9cb18232c290c1876cdb6570ef11f29fa7a98ce3 (patch) | |
tree | 3b3d28dd90be52d4862f8c1a91198810dec0ee7d /core/SCsub | |
parent | b3f6e54cc61086fc3a3d2af170a86ea6a6eebf73 (diff) |
Core: Drop unused global_defaults logic
It used to be used for Android and iOS to specify platform-specific
project settings overrides, but we now have feature tags for that.
Diffstat (limited to 'core/SCsub')
-rw-r--r-- | core/SCsub | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/core/SCsub b/core/SCsub index c6d0b7e5b1..fe379d6936 100644 --- a/core/SCsub +++ b/core/SCsub @@ -8,22 +8,6 @@ from platform_methods import run_in_subprocess env.core_sources = [] -# Generate global defaults -gd_call = "" -gd_inc = "" - -for x in env.global_defaults: - env.core_sources.append("#platform/" + x + "/globals/global_defaults.cpp") - gd_inc += '#include "platform/' + x + '/globals/global_defaults.h"\n' - gd_call += "\tregister_" + x + "_global_defaults();\n" - -gd_cpp = '#include "core/project_settings.h"\n' -gd_cpp += gd_inc -gd_cpp += "void ProjectSettings::register_global_defaults() {\n" + gd_call + "\n}\n" - -with open("global_defaults.gen.cpp", "w") as f: - f.write(gd_cpp) - # Generate AES256 script encryption key import os |