Add experimental Android build in scons
This commit is contained in:
parent
e7c7363764
commit
215fc5448e
|
@ -52,8 +52,13 @@ elif env["platform"] == "windows":
|
|||
env.Append(LIBPATH = ['C:/Program Files/Ultraleap/LeapSDK/lib/x64'])
|
||||
env.Append(CPPPATH = ["C:/Program Files/Ultraleap/LeapSDK/include"])
|
||||
elif env["platform"] == "android":
|
||||
print("Android is not supported yet")
|
||||
exit(1)
|
||||
library = env.SharedLibrary(
|
||||
"demo/addons/godot_ultraleap_plugin/bin/libgdultraleap{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),
|
||||
source=sources,
|
||||
)
|
||||
env.Append(LIBS=['LeapC'])
|
||||
env.Append(LIBPATH = ['./android'])
|
||||
env.Append(CPPPATH = ["./android"])
|
||||
else:
|
||||
library = env.SharedLibrary(
|
||||
"demo/addons/godot_ultraleap_plugin/bin/libgdultraleap{}{}".format(env["suffix"], env["SHLIBSUFFIX"]),
|
||||
|
|
Loading…
Reference in a new issue