Add Windows build too
This commit is contained in:
parent
22250e6fec
commit
6dd897a822
10
SConstruct
10
SConstruct
|
@ -43,6 +43,16 @@ if env["platform"] == "macos":
|
|||
change_rpath_action = Action('', change_rpath)
|
||||
|
||||
AddPostAction(library, change_rpath_action)
|
||||
elif env["platform"] == "windows":
|
||||
library = env.SharedLibrary(
|
||||
"demo/addons/godot_ultraleap_plugin/bin/libgdultraleap{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),
|
||||
source=sources,
|
||||
)
|
||||
env.Append(LIBS=['LeapC'])
|
||||
env.Append(LIBPATH = ['C:/Program Files/Ultraleap/LeapSDK/lib/x64'])
|
||||
elif env["platform"] == "android":
|
||||
print("Android is not supported yet")
|
||||
exit(1)
|
||||
else:
|
||||
library = env.SharedLibrary(
|
||||
"demo/addons/godot_ultraleap_plugin/bin/libgdultraleap{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),
|
||||
|
|
Loading…
Reference in a new issue