resource-encapsulation: Install examples 79/23679/5
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 7 Dec 2017 13:14:27 +0000 (14:14 +0100)
committerMats Wichmann <mats@linux.com>
Thu, 8 Mar 2018 18:44:06 +0000 (18:44 +0000)
Yocto manually installed then,
so let's rely on scons from now on.

Bug: https://jira.iotivity.org/browse/IOT-524
Change-Id: Id4a3825bfdf29e2cfddaf15c17451c86c332d2c1
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
service/resource-encapsulation/examples/linux/SConscript

index 4f63b60..09e107a 100644 (file)
@@ -54,6 +54,7 @@ if 'rt' in sample_env.get('LIBS'):
     sample_env.Append(LIBS=['rt'])
 
 sample_env.AddPthreadIfNeeded()
+examples = []
 
 ######################################################################
 # ##### Client #####
@@ -65,6 +66,7 @@ sampleResourceClient = client_env.Program('sampleResourceClient',
                                           'SampleResourceClient.cpp')
 nestedAttributesClient = client_env.Program('nestedAttributesClient',
                                             'NestedAttributesClient.cpp')
+examples += [sampleResourceClient, nestedAttributesClient]
 
 ######################################################################
 # ##### Server #####
@@ -78,3 +80,5 @@ separateResponseServer = server_env.Program('separateResponseServer',
                                             'SeparateResponseServer.cpp')
 nestedAttributesServer = server_env.Program('nestedAttributesServer',
                                             'NestedAttributesServer.cpp')
+examples += [sampleResourceServer, separateResponseServer, nestedAttributesServer]
+server_env.UserInstallTargetExtra(examples)