diff options
author | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2019-09-26 14:56:27 +0300 |
---|---|---|
committer | Andrii Doroshenko (Xrayez) <xrayez@gmail.com> | 2019-09-26 16:12:07 +0300 |
commit | 752debe204eed001f52109b2b83a2f606a42101d (patch) | |
tree | 1b1dfccb21861e079e808094c559a6149a769eda /main/main.cpp | |
parent | 04032a94459ebb6a65930e4b37778e3e82323a19 (diff) |
SCons: do not build tests with tools=no
This doesn't affect the resulting binary size, but allows to save
a phew seconds during compilation if building export templates.
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp index 5de5c52b14..bff7633188 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1457,12 +1457,11 @@ bool Main::start() { }; if (test != "") { -#ifdef DEBUG_ENABLED +#ifdef TOOLS_ENABLED main_loop = test_main(test, args); if (!main_loop) return false; - #endif } else if (script != "") { |