Merge pull request #4 from aaronfranke/update-gdcpp

main
Nathan Franke 3 years ago committed by GitHub
commit 90cffaedeb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,32 +14,32 @@ jobs:
include: include:
- identifier: linux-debug - identifier: linux-debug
name: Linux Debug name: Linux Debug
runner: ubuntu-18.04 runner: ubuntu-20.04
target: debug target: template_debug
platform: linux platform: linux
arch: x86_64 arch: x86_64
- identifier: linux-release - identifier: linux-release
name: Linux Release name: Linux Release
runner: ubuntu-18.04 runner: ubuntu-20.04
target: release target: template_release
platform: linux platform: linux
arch: x86_64 arch: x86_64
- identifier: windows-debug - identifier: windows-debug
name: Windows Debug name: Windows Debug
runner: ubuntu-20.04 runner: ubuntu-20.04
target: debug target: template_debug
platform: windows platform: windows
arch: x86_64 arch: x86_64
- identifier: windows-release - identifier: windows-release
name: Windows Release name: Windows Release
runner: ubuntu-20.04 runner: ubuntu-20.04
target: release target: template_release
platform: windows platform: windows
arch: x86_64 arch: x86_64
- identifier: android-release - identifier: android-release
name: Android Release name: Android Release
runner: ubuntu-20.04 runner: ubuntu-20.04
target: release target: template_release
platform: android platform: android
arch: arm64 arch: arm64

@ -25,13 +25,14 @@ project_name = Path(extension_path).stem
# print("Scons cache enabled... (path: '" + scons_cache_path + "')") # print("Scons cache enabled... (path: '" + scons_cache_path + "')")
# Create the library target (e.g. libexample.linux.debug.x86_64.so). # Create the library target (e.g. libexample.linux.debug.x86_64.so).
debug_or_release = "release" if env["target"] == "template_release" else "debug"
if env["platform"] == "macos": if env["platform"] == "macos":
library = env.SharedLibrary( library = env.SharedLibrary(
"{0}/bin/lib{1}.{2}.{3}.framework/{1}.{2}.{3}".format( "{0}/bin/lib{1}.{2}.{3}.framework/{1}.{2}.{3}".format(
addon_path, addon_path,
project_name, project_name,
env["platform"], env["platform"],
env["target"], debug_or_release,
), ),
source=sources, source=sources,
) )
@ -41,8 +42,8 @@ else:
addon_path, addon_path,
project_name, project_name,
env["platform"], env["platform"],
env["target"], debug_or_release,
env["arch_suffix"], env["arch"],
env["SHLIBSUFFIX"], env["SHLIBSUFFIX"],
), ),
source=sources, source=sources,

@ -1 +1 @@
Subproject commit 86703055894cb2555f0ec704eff11e3c1c81a5d3 Subproject commit adf4802f4bd7fb7cafc1e94882df3f105d7f7afd

@ -12,4 +12,4 @@ config_version=5
config/name="example" config/name="example"
run/main_scene="res://demo/demo.tscn" run/main_scene="res://demo/demo.tscn"
config/features=PackedStringArray("4.0", "Vulkan Clustered") config/features=PackedStringArray("4.0")

Loading…
Cancel
Save