projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replace : iotivity -> iotivity-sec
[platform/upstream/iotivity.git]
/
resource
/
examples
/
SConscript
diff --git
a/resource/examples/SConscript
b/resource/examples/SConscript
index
afb0eb2
..
4896179
100644
(file)
--- a/
resource/examples/SConscript
+++ b/
resource/examples/SConscript
@@
-29,6
+29,7
@@
SConscript('#resource/third_party_libs.scons', 'lib_env')
examples_env = lib_env.Clone()
target_os = examples_env.get('TARGET_OS')
rd_mode = examples_env.get('RD_MODE')
examples_env = lib_env.Clone()
target_os = examples_env.get('TARGET_OS')
rd_mode = examples_env.get('RD_MODE')
+ble_custom_adv = examples_env.get('BLE_CUSTOM_ADV')
######################################################################
# Build flags
######################################################################
# Build flags
@@
-75,6
+76,9
@@
if target_os in ['darwin', 'ios']:
if examples_env.get('WITH_CLOUD'):
examples_env.AppendUnique(CPPDEFINES = ['WITH_CLOUD'])
if examples_env.get('WITH_CLOUD'):
examples_env.AppendUnique(CPPDEFINES = ['WITH_CLOUD'])
+if ble_custom_adv == True:
+ env.AppendUnique(CPPDEFINES = ['BLE_CUSTOM_ADVERTISE'])
+
if target_os in ['msys_nt', 'windows']:
examples_env.AppendUnique(LIBS = ['Comctl32', 'Gdi32', 'User32'])
if target_os in ['msys_nt', 'windows']:
examples_env.AppendUnique(LIBS = ['Comctl32', 'Gdi32', 'User32'])