Use the same structure for the libraries
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
parent
de3d041e77
commit
a617fce3a3
@ -5,11 +5,12 @@ env.Append(CPPPATH="src/")
|
|||||||
src = Glob("src/*.cpp")
|
src = Glob("src/*.cpp")
|
||||||
|
|
||||||
if env["platform"] == "linux":
|
if env["platform"] == "linux":
|
||||||
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
|
pass
|
||||||
sharedlib = env.SharedLibrary(libpath, src)
|
|
||||||
elif env["platform"] == "windows":
|
elif env["platform"] == "windows":
|
||||||
pass
|
pass
|
||||||
elif env["platform"] == "android":
|
elif env["platform"] == "android":
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
|
||||||
|
sharedlib = env.SharedLibrary(libpath, src)
|
||||||
Default(sharedlib)
|
Default(sharedlib)
|
||||||
|
Loading…
Reference in New Issue
Block a user