Include env["suffix"] in binary names for macOS and iOS
parent
ba780e0898
commit
a21da62bc4
|
@ -50,7 +50,7 @@ filepath = ""
|
||||||
|
|
||||||
if env["platform"] == "macos" or env["platform"] == "ios":
|
if env["platform"] == "macos" or env["platform"] == "ios":
|
||||||
filepath = "{}.framework/".format(env["platform"])
|
filepath = "{}.framework/".format(env["platform"])
|
||||||
file = "{}.{}.{}".format(libname, env["platform"], env["target"])
|
file = "{}{}".format(libname, env["suffix"])
|
||||||
|
|
||||||
libraryfile = "bin/{}/{}{}".format(env["platform"], filepath, file)
|
libraryfile = "bin/{}/{}{}".format(env["platform"], filepath, file)
|
||||||
library = env.SharedLibrary(
|
library = env.SharedLibrary(
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>libEXTENSION-NAME.macos.template_release</string>
|
<string>libEXTENSION-NAME.ios.template_release.universal</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>Godot Template Cpp</string>
|
<string>Godot Template Cpp</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
<string>en</string>
|
<string>en</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
<string>libEXTENSION-NAME.macos.template_release</string>
|
<string>libEXTENSION-NAME.macos.template_release.universal</string>
|
||||||
<key>CFBundleName</key>
|
<key>CFBundleName</key>
|
||||||
<string>Godot Cpp Template</string>
|
<string>Godot Cpp Template</string>
|
||||||
<key>CFBundleDisplayName</key>
|
<key>CFBundleDisplayName</key>
|
||||||
|
|
|
@ -5,10 +5,10 @@ compatibility_minimum = "4.1"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
; Relative paths ensure that our GDExtension can be placed anywhere in the project directory.
|
; Relative paths ensure that our GDExtension can be placed anywhere in the project directory.
|
||||||
macos.debug = "./macos/macos.framework/libEXTENSION-NAME.macos.template_debug"
|
macos.debug = "./macos/macos.framework/libEXTENSION-NAME.macos.template_debug.universal"
|
||||||
macos.release = "./macos/macos.framework/libEXTENSION-NAME.macos.template_release"
|
macos.release = "./macos/macos.framework/libEXTENSION-NAME.macos.template_release.universal"
|
||||||
ios.debug = "./ios/ios.framework/libEXTENSION-NAME.ios.template_debug"
|
ios.debug = "./ios/ios.framework/libEXTENSION-NAME.ios.template_debug.universal"
|
||||||
ios.release = "./ios/ios.framework/libEXTENSION-NAME.ios.template_release"
|
ios.release = "./ios/ios.framework/libEXTENSION-NAME.ios.template_release.universal"
|
||||||
windows.debug.x86_32 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_32.dll"
|
windows.debug.x86_32 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_32.dll"
|
||||||
windows.release.x86_32 = "./windows/libEXTENSION-NAME.windows.template_release.x86_32.dll"
|
windows.release.x86_32 = "./windows/libEXTENSION-NAME.windows.template_release.x86_32.dll"
|
||||||
windows.debug.x86_64 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_64.dll"
|
windows.debug.x86_64 = "./windows/libEXTENSION-NAME.windows.template_debug.x86_64.dll"
|
||||||
|
|
Loading…
Reference in New Issue