diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-10-17 00:51:32 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2022-10-17 20:59:33 +0200 |
commit | 690b31e7dd8d4583c50c1f5c60fde3c6888ff7bf (patch) | |
tree | 00454cbbbc84ff6bc3992d50d677fe72bb0e369a /builders.py | |
parent | 9b0a5d8b4677e6e10d7fb7f96ba469738add47e9 (diff) | |
download | fork-godot-webrtc-native-690b31e7dd8d4583c50c1f5c60fde3c6888ff7bf.tar.gz fork-godot-webrtc-native-690b31e7dd8d4583c50c1f5c60fde3c6888ff7bf.tar.bz2 fork-godot-webrtc-native-690b31e7dd8d4583c50c1f5c60fde3c6888ff7bf.zip |
[Upstream] Update to Godot beta 3.
Update build targets.
Move release script out of CI yaml.
Disable debug CI builds for Godot 3.x since they are mostly used for
debugging the extension itself.
Diffstat (limited to 'builders.py')
-rw-r--r-- | builders.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/builders.py b/builders.py index 8f85cd3..284ac1e 100644 --- a/builders.py +++ b/builders.py @@ -11,7 +11,7 @@ def get_deps_dir(env): def get_deps_build_dir(env): - return get_deps_dir(env) + "/build/{}.{}.{}.dir".format(env["platform"], env["target"], env["arch_suffix"]) + return get_deps_dir(env) + "/build/build{}.{}.dir".format(env["suffix"], "RelWithDebInfo" if env["debug_symbols"] else "Release") def get_rtc_source_dir(env): @@ -63,7 +63,7 @@ def ssl_action(target, source, env): "--prefix=%s" % install_dir, "--openssldir=%s" % install_dir, ] - if env["target"] == "debug": + if env["debug_symbols"]: args.append("-d") if env["platform"] != "windows": @@ -163,7 +163,7 @@ def rtc_action(target, source, env): "-DOPENSSL_INCLUDE_DIR=%s" % get_ssl_include_dir(env), "-DOPENSSL_SSL_LIBRARY=%s/libssl.a" % get_ssl_build_dir(env), "-DOPENSSL_CRYPTO_LIBRARY=%s/libcrypto.a" % get_ssl_build_dir(env), - "-DCMAKE_BUILD_TYPE=%s" % ("Release" if env["target"] == "release" else "Debug"), + "-DCMAKE_BUILD_TYPE=%s" % ("RelWithDebInfo" if env["debug_symbols"] else "Release"), ] if env["platform"] == "android": abi = { |