notification: Install examples 83/23683/3
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Thu, 7 Dec 2017 13:29:45 +0000 (14:29 +0100)
committerMats Wichmann <mats@linux.com>
Wed, 13 Dec 2017 16:21:43 +0000 (16:21 +0000)
Yocto manually installed them,
so let's rely on scons from now on.

Bug: https://jira.iotivity.org/browse/IOT-524
Change-Id: I58398d6cec1cbd5a08dd5fe365ebe83d4d377323
Origin: https://gerrit.iotivity.org/gerrit/#/c/23683/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
service/notification/examples/linux/SConscript

index 697a54a..c30f409 100644 (file)
@@ -83,12 +83,14 @@ if env.get('SECURED') == '1':
 ####################################################################
 # Source files and Targets
 ######################################################################
+examples = []
 notification_sample_provider_env = notification_sample_env.Clone()
 notification_sample_provider_env.AppendUnique(LIBS='libnotification_provider')
 notificationprovider = notification_sample_provider_env.Program(
     'notificationprovider', notification_sample_provider_src)
 i_notificationprovider = notification_sample_provider_env.Install(
     env.get('BUILD_DIR'), notificationprovider)
+examples += notificationprovider
 
 notification_sample_consumer_env = notification_sample_env.Clone()
 notification_sample_consumer_env.AppendUnique(LIBS='libnotification_consumer')
@@ -96,7 +98,10 @@ notificationconsumer = notification_sample_consumer_env.Program(
     'notificationconsumer', notification_sample_consumer_src)
 i_notificationprovider = notification_sample_consumer_env.Install(
     env.get('BUILD_DIR'), notificationconsumer)
+examples += notificationconsumer
 
 if env.get('WITH_CLOUD') == True:
     Export('providerCloudConnectorObj')
     Export('consumerCloudConnectorObj')
+
+notification_sample_consumer_env.UserInstallTargetExtra(examples)