summaryrefslogtreecommitdiff
path: root/core/SCsub
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-06-23 22:03:41 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2017-06-25 07:55:01 +0700
commite3998528e021d2722b40bc1bcda809baaa2cce3b (patch)
tree5484259368bf73d1b429533fa36917c1f1030e67 /core/SCsub
parenta2e4b80ff5649504ed4bdc4b4c7f39c19ae6db6a (diff)
BuildSystem: generated files have .gen.extension
Diffstat (limited to 'core/SCsub')
-rw-r--r--core/SCsub6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/SCsub b/core/SCsub
index da2403f1d3..02abaa2bb6 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -18,7 +18,7 @@ gd_cpp = '#include "global_config.h"\n'
gd_cpp += gd_inc
gd_cpp += "void GlobalConfig::register_global_defaults() {\n" + gd_call + "\n}\n"
-f = open("global_defaults.cpp", "wb")
+f = open("global_defaults.gen.cpp", "wb")
f.write(gd_cpp)
f.close()
@@ -47,7 +47,7 @@ if ("SCRIPT_AES256_ENCRYPTION_KEY" in os.environ):
txt = "0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0"
print("Invalid AES256 encryption key, not 64 bits hex: " + e)
-f = open("script_encryption_key.cpp", "wb")
+f = open("script_encryption_key.gen.cpp", "wb")
f.write("#include \"global_config.h\"\nuint8_t script_encryption_key[32]={" + txt + "};\n")
f.close()
@@ -109,7 +109,7 @@ env.add_source_files(env.core_sources, "*.cpp")
# Make binders
import make_binders
-env.Command(['method_bind.inc', 'method_bind_ext.inc'], 'make_binders.py', make_binders.run)
+env.Command(['method_bind.gen.inc', 'method_bind_ext.gen.inc'], 'make_binders.py', make_binders.run)
# Chain load SCsubs