From bdd9d5074534db22ef0030f52db35aa04721ed09 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Thu, 29 Dec 2022 19:19:55 +0100 Subject: [SCons] Refactor build tools. Split dependency builders into separate tools, optimize OpenSSL builds. --- tools/common.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tools/common.py (limited to 'tools/common.py') diff --git a/tools/common.py b/tools/common.py new file mode 100644 index 0000000..aa99c5c --- /dev/null +++ b/tools/common.py @@ -0,0 +1,8 @@ + +def exists(env): + return True + + +def generate(env): + env["DEPS_SOURCE"] = env.Dir("#thirdparty").abspath + env["DEPS_BUILD"] = env.Dir("#bin/thirdparty").abspath + "/{}.{}.dir".format(env["suffix"][1:], "RelWithDebInfo" if env["debug_symbols"] else "Release") -- cgit v1.2.3