diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-07-25 16:59:30 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2020-07-25 18:44:18 +0300 |
commit | f6465f46b4c172cb40e16676dfb0ef09374a7b9c (patch) | |
tree | 5572d677bbc82fbe06dd3ef614445aaf005c6d36 /main/SCsub | |
parent | 5f75cec59e004b5ff0fefdb326f987409b7d7e89 (diff) |
SCons: Add `tests` option to enable or disable unit tests
Diffstat (limited to 'main/SCsub')
-rw-r--r-- | main/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
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) |