[sw] Do not build unit tests by default.

This commit is contained in:
Egor Pugin 2020-12-28 20:37:35 +03:00
parent 98974a6913
commit 02ce392cf3

3
sw.cpp
View File

@ -223,6 +223,9 @@ void build(Solution &s)
;
}
if (!s.getExternalVariables()["with-tests"])
return;
auto &test = tess.addDirectory("test");
test.Scope = TargetScope::Test;