Commit 96e14db8 authored by Mats Wichmann's avatar Mats Wichmann Committed by Nathan Heldt-Sheller

IOT-3266 Demote notification-cpp examples

Change-Id: I29221ed448cd4da877486bdfd04ddfdbaae4b4d8
Signed-off-by: default avatarMats Wichmann <mats@linux.com>
parent cfce672d
......@@ -27,10 +27,11 @@ SConscript(dirs=[
'consumer', # build producer notification wrapper
])
# Go to build sample apps using wrapper
if target_os == 'linux':
SConscript('examples/linux/SConscript')
# Go to build c++ wrapper unittest
if env.get('WITH_TEST') and target_os in ('linux'):
SConscript('unittest/SConscript')
# Go to build sample apps using wrapper
env.AppendTarget("notification-cpp-examples", default=False)
if target_os == 'linux' and "notification-cpp-examples" in COMMAND_LINE_TARGETS:
SConscript('examples/linux/SConscript')
The examples in this directory are not officially maintained.
While the code may provide useful insights, they should
be examined with caution.
To build, run:
scons [options] notification-cpp-examples
......@@ -89,6 +89,7 @@ notificationproviderwrapper = notification_sample_provider_env.Program(
'notificationproviderwrapper', 'notificationserviceprovider.cpp')
i_notificationprovider = notification_sample_provider_env.Install(
env.get('BUILD_DIR'), notificationproviderwrapper)
Alias("notification-cpp-examples", notificationproviderwrapper)
notification_sample_consumer_env = notification_sample_env.Clone()
notification_sample_consumer_env.AppendUnique(
......@@ -98,3 +99,4 @@ notificationconsumerwrapper = notification_sample_consumer_env.Program(
'notificationconsumerwrapper', 'notificationserviceconsumer.cpp')
i_notificationconsumer = notification_sample_consumer_env.Install(
env.get('BUILD_DIR'), notificationconsumerwrapper)
Alias("notification-cpp-examples", notificationconsumerwrapper)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment