summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorRhody Lugo <rhodylugo@gmail.com>2017-11-28 16:27:57 -0400
committerRhody Lugo <rhodylugo@gmail.com>2017-11-28 23:24:12 -0400
commita65c0939fd1adc616275ad01996917fab89a7b9c (patch)
tree60fb5469a28c4ec482b8d3b9cad183daa1b654d1 /main
parent24baf79c5e30b75f8370c24239a00085d7ad803f (diff)
disable caching for targets using helper functions
Diffstat (limited to 'main')
-rw-r--r--main/SCsub3
-rw-r--r--main/tests/SCsub3
2 files changed, 2 insertions, 4 deletions
diff --git a/main/SCsub b/main/SCsub
index 74a350ea01..2cc617fc2c 100644
--- a/main/SCsub
+++ b/main/SCsub
@@ -56,6 +56,5 @@ env.Command("#main/app_icon.gen.h", "#main/app_icon.png", make_app_icon)
SConscript('tests/SCsub')
-lib = env.Library("main", env.main_sources)
-env.NoCache(lib)
+lib = env.add_library("main", env.main_sources)
env.Prepend(LIBS=[lib])
diff --git a/main/tests/SCsub b/main/tests/SCsub
index bb44e9e5da..26a0819ee8 100644
--- a/main/tests/SCsub
+++ b/main/tests/SCsub
@@ -9,6 +9,5 @@ Export('env')
# SConscript('math/SCsub');
-lib = env.Library("tests", env.tests_sources)
-env.NoCache(lib)
+lib = env.add_library("tests", env.tests_sources)
env.Prepend(LIBS=[lib])