Cambiar la ruta de compilación de scons

Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
Somebody Master 2023-02-16 22:02:01 +01:00
parent 17530e09f2
commit fe7d0893a3
Signed by: somebody_master
GPG Key ID: 78315CFDF0B25505
2 changed files with 4 additions and 3 deletions

View File

@ -5,10 +5,11 @@ env.Append(CPPPATH="src/")
src = Glob("src/*.cpp")
if env["platform"] == "linux":
libpath = "../libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
libpath = "../build/libtest{}{}".format( env["suffix"], env["SHLIBSUFFIX"] )
sharedlib = env.SharedLibrary(libpath, src)
Default(sharedlib)
elif env["platform"] == "windows":
pass
elif env["platform"] == "android":
pass
Default(sharedlib)

View File

@ -4,4 +4,4 @@ entry_symbol = "test_library_init"
[libraries]
linux.debug.x86_64 = "res://libtest.linux.template_debug.x86_64.so"
linux.debug.x86_64 = "res://build/libtest.linux.template_debug.x86_64.so"