From f6465f46b4c172cb40e16676dfb0ef09374a7b9c Mon Sep 17 00:00:00 2001 From: "Andrii Doroshenko (Xrayez)" Date: Sat, 25 Jul 2020 16:59:30 +0300 Subject: SCons: Add `tests` option to enable or disable unit tests --- main/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/SCsub') diff --git a/main/SCsub b/main/SCsub index bf188d7328..793e5ed827 100644 --- a/main/SCsub +++ b/main/SCsub @@ -20,7 +20,7 @@ env.CommandNoCache( env.Depends("#main/app_icon.gen.h", "#main/app_icon.png") env.CommandNoCache("#main/app_icon.gen.h", "#main/app_icon.png", run_in_subprocess(main_builders.make_app_icon)) -if env["tools"]: +if env["tests"]: SConscript("tests/SCsub") lib = env.add_library("main", env.main_sources) -- cgit v1.2.3