more towards building
This commit is contained in:
@@ -21,10 +21,11 @@ elif env["platform"] == "windows":
|
||||
if env["target"] == "template_debug":
|
||||
debugsuffix = "_debug"
|
||||
folder = "debug/"
|
||||
discord_library_target = discord_library.replace(".", f"{debugsuffix}.")
|
||||
else:
|
||||
debugsuffix = ""
|
||||
folder = "release/" #
|
||||
|
||||
folder = "release/"
|
||||
discord_library_target = discord_library
|
||||
|
||||
env.Append(LIBPATH=["src/lib/discord_social_sdk/lib/" + folder])
|
||||
env.Append(LIBS=["discord_partner_sdk"])
|
||||
@@ -41,8 +42,8 @@ library = env.SharedLibrary(
|
||||
env.Depends(
|
||||
library,
|
||||
Command(
|
||||
"project/addons/discord-rpc-gd/bin/" + libexportfolder + discord_library,
|
||||
"src/lib/discord_partner_sdk/bin/" + folder + discord_library,
|
||||
"project/addons/discord-rpc-gd/bin/" + libexportfolder + discord_library_target,
|
||||
"src/lib/discord_social_sdk/lib/" + folder + discord_library,
|
||||
Copy("$TARGET", "$SOURCE"),
|
||||
),
|
||||
)
|
||||
|
Reference in New Issue
Block a user