Skip to content

Commit a3b56ec

Browse files
committed
[FCT] Godot4 first commit
1 parent 11ff644 commit a3b56ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+3297
-220277
lines changed

.sconsign.dblite

1.27 MB
Binary file not shown.

SConstruct

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@ if env['platform'] == "windows":
1414
env.Append(LIBPATH=["{}".format("C:\Program Files (x86)\Eclipse Paho C\lib")])
1515
env.Append(LIBPATH=["{}".format("C:\Program Files\OpenSSL-Win64\lib\VC\static")])
1616
env.Append(LIBS=["paho-mqtt3as-static.lib", "paho-mqttpp3-static.lib", "libcrypto64MD.lib", "libssl64MD.lib", "ws2_32.lib", "Advapi32.lib", "User32.lib"])
17-
if env['platform'] == "osx":
17+
library = env.SharedLibrary("demo/addons/GDPaho/libgdpaho{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),source=sources)
18+
19+
elif env['platform'] == "macos":
1820
env.Append(CPPPATH=["/opt/homebrew/opt/openssl@3/include"])
1921
env.Append(LIBPATH=["/opt/homebrew/opt/openssl@3/lib"])
2022
env.Append(LIBS=["paho-mqtt3as", "paho-mqttpp3", "ssl"])
23+
library = env.SharedLibrary("demo/addons/GDPaho/libgdpaho.{}.{}.framework/libgdpaho.{}.{}".format(env["platform"], env["target"], env["platform"], env["target"]), source=sources)
24+
2125
elif env['platform'] in ('x11', 'linux'):
2226
env.Append(LIBS=["paho-mqtt3as", "paho-mqttpp3", "crypto", "ssl"])
27+
library = env.SharedLibrary("demo/addons/GDPaho/libgdpaho{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),source=sources)
2328

2429
# Create lib
25-
library = env.SharedLibrary("demo/addons/GDPaho/{}/libgdpaho{}".format(env['platform'], env["SHLIBSUFFIX"]), source=sources)
2630
Default(library)

0 commit comments

Comments
 (0)