From 01bbd5fd0af0847ac847c78c7064b3c9810a924a Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Thu, 1 Nov 2018 15:10:51 +0000 Subject: COMPMID-1737: Add support for install_dir Note: Only ComputeLibrary files get copied over (Stub CL / GLES drivers don't, nor are the 3rdparty includes) utils/ files are not copied either (They're not part of the core library) Change-Id: I55e01c0ba4a5f7e649877fcdd11fdb0a51071b18 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/156339 Reviewed-by: Pablo Tello Reviewed-by: Georgios Pinitas Tested-by: bsgcomp --- SConscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'SConscript') diff --git a/SConscript b/SConscript index 36fa7b6af9..86f2789de5 100644 --- a/SConscript +++ b/SConscript @@ -29,6 +29,7 @@ SONAME_VERSION="1.0.0" Import('env') Import('vars') +Import('install_lib') def build_library(name, sources, static=False, libs=[]): if static: @@ -53,6 +54,7 @@ def build_library(name, sources, static=False, libs=[]): else: obj = arm_compute_env.SharedLibrary(name, source=sources, LIBS = arm_compute_env["LIBS"] + libs) + obj = install_lib(obj) Default(obj) return obj -- cgit v1.2.1