diff options
Diffstat (limited to 'platform')
-rw-r--r-- | platform/SCsub | 4 | ||||
-rw-r--r-- | platform/android/SCsub | 4 | ||||
-rw-r--r-- | platform/iphone/SCsub | 1 | ||||
-rw-r--r-- | platform/osx/SCsub | 6 | ||||
-rw-r--r-- | platform/server/SCsub | 3 | ||||
-rw-r--r-- | platform/uwp/SCsub | 1 | ||||
-rw-r--r-- | platform/windows/SCsub | 5 | ||||
-rw-r--r-- | platform/x11/SCsub | 6 |
8 files changed, 20 insertions, 10 deletions
diff --git a/platform/SCsub b/platform/SCsub index 4ef23ab053..a362371f93 100644 --- a/platform/SCsub +++ b/platform/SCsub @@ -25,6 +25,8 @@ f.write(unreg_apis) f.close() platform_sources.append('register_platform_apis.gen.cpp') -env.Prepend(LIBS=env.Library('platform', platform_sources)) +lib = env.Library('platform', platform_sources) +env.NoCache(lib) +env.Prepend(LIBS=lib) Export('env') diff --git a/platform/android/SCsub b/platform/android/SCsub index 7fa0262359..74349cb0ad 100644 --- a/platform/android/SCsub +++ b/platform/android/SCsub @@ -144,8 +144,8 @@ manifest = manifest.replace("$$ADD_APPATTRIBUTE_CHUNKS$$", env.android_appattrib pp_baseout.write(manifest) -env_android.SharedLibrary("#bin/libgodot", [android_objects], SHLIBSUFFIX=env["SHLIBSUFFIX"]) - +lib = env_android.SharedLibrary("#bin/libgodot", [android_objects], SHLIBSUFFIX=env["SHLIBSUFFIX"]) +env_android.NoCache(lib) lib_arch_dir = '' if env['android_arch'] == 'armv6': diff --git a/platform/iphone/SCsub b/platform/iphone/SCsub index 550dfdd7d6..5903934d7d 100644 --- a/platform/iphone/SCsub +++ b/platform/iphone/SCsub @@ -18,6 +18,7 @@ iphone_lib = [ env_ios = env.Clone() ios_lib = env_ios.Library('iphone', iphone_lib) +env_ios.NoCache(ios_lib) def combine_libs(target=None, source=None, env=None): lib_path = target[0].srcnode().abspath diff --git a/platform/osx/SCsub b/platform/osx/SCsub index be3950bc6d..16223654cc 100644 --- a/platform/osx/SCsub +++ b/platform/osx/SCsub @@ -16,7 +16,9 @@ files = [ 'power_osx.cpp', ] -binary = env.Program('#bin/godot', files) +prog = env.Program('#bin/godot', files) +env.NoCache(prog) + if env["debug_symbols"] == "full" or env["debug_symbols"] == "yes": - env.AddPostAction(binary, make_debug) + env.AddPostAction(prog, make_debug) diff --git a/platform/server/SCsub b/platform/server/SCsub index 30195bb908..9e7bfda123 100644 --- a/platform/server/SCsub +++ b/platform/server/SCsub @@ -7,4 +7,5 @@ common_server = [\ "os_server.cpp",\ ] -env.Program('#bin/godot_server', ['godot_server.cpp'] + common_server) +prog = env.Program('#bin/godot_server', ['godot_server.cpp'] + common_server) +env.NoCache(prog) diff --git a/platform/uwp/SCsub b/platform/uwp/SCsub index bbd329a7e5..ba375428a5 100644 --- a/platform/uwp/SCsub +++ b/platform/uwp/SCsub @@ -20,6 +20,7 @@ if "build_angle" in env and env["build_angle"]: cmd = env.AlwaysBuild(env.ANGLE('libANGLE.lib', None)) prog = env.Program('#bin/godot', files) +env.NoCache(prog) if "build_angle" in env and env["build_angle"]: env.Depends(prog, [cmd]) diff --git a/platform/windows/SCsub b/platform/windows/SCsub index aa9eb3e69b..2fdb801c2e 100644 --- a/platform/windows/SCsub +++ b/platform/windows/SCsub @@ -28,7 +28,8 @@ obj = env.RES(restarget, 'godot_res.rc') common_win.append(obj) -binary = env.Program('#bin/godot', ['godot_win.cpp'] + common_win, PROGSUFFIX=env["PROGSUFFIX"]) +prog = env.Program('#bin/godot', ['godot_win.cpp'] + common_win, PROGSUFFIX=env["PROGSUFFIX"]) +env.NoCache(prog) # Microsoft Visual Studio Project Generation if env['vsproj']: @@ -38,4 +39,4 @@ if env['vsproj']: if not os.getenv("VCINSTALLDIR"): if env["debug_symbols"] == "full" or env["debug_symbols"] == "yes": - env.AddPostAction(binary, make_debug_mingw) + env.AddPostAction(prog, make_debug_mingw) diff --git a/platform/x11/SCsub b/platform/x11/SCsub index aabc49149f..1eeee8380f 100644 --- a/platform/x11/SCsub +++ b/platform/x11/SCsub @@ -17,6 +17,8 @@ common_x11 = [ "power_x11.cpp", ] -binary = env.Program('#bin/godot', ['godot_x11.cpp'] + common_x11) +prog = env.Program('#bin/godot', ['godot_x11.cpp'] + common_x11) +env.NoCache(prog) + if env["debug_symbols"] == "full" or env["debug_symbols"] == "yes": - env.AddPostAction(binary, make_debug) + env.AddPostAction(prog, make_debug) |