This is a scons scripts cleanup left after fixing /W4 warnings for Windows.
Preparing SConscript files for removal of arbitrary global "env"
modifications in script files outside build_common/ directory.
Bug: https://jira.iotivity.org/browse/IOT-1583
Change-Id: I637d27e2debfd184a19755eea56fbdeb083cd0b6
Signed-off-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21095
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Tested-by: Phil Coval <philippe.coval@osg.samsung.com>
Reviewed-by: Phil Coval <philippe.coval@osg.samsung.com>
resource_container_env.AppendUnique(CPPPATH=[
'#/extlibs',
+ '#/resource/c_common',
+ '#/resource/c_common/oic_malloc/include',
+ '#/resource/c_common/oic_string/include',
'#/resource/csdk/include',
'#/resource/csdk/stack/include',
'#/resource/include',
linux_sample_env.AppendUnique(CPPPATH=['include'])
linux_sample_env.AppendUnique(CXXFLAGS=['-std=c++0x', '-Wall', '-pthread'])
linux_sample_env.AppendUnique(CPPDEFINES=['LINUX'])
-linux_sample_env.AppendUnique(LIBPATH=[env.get('BUILD_DIR')])
linux_sample_env.AppendUnique(LIBS=[
'coap',
'connectivity_abstraction',
linux_sample_env = env.Clone()
linux_sample_env.AppendUnique(CPPPATH=[
+ '#/resource/c_common',
+ '#/resource/c_common/oic_malloc/include',
+ '#/resource/c_common/oic_string/include',
'#/resource/csdk/include',
'#/resource/csdk/stack/include',
'#/resource/include',
linux_sample_env.AppendUnique(CPPPATH=['include'])
linux_sample_env.AppendUnique(CXXFLAGS=['-std=c++0x', '-Wall', '-pthread'])
linux_sample_env.AppendUnique(CPPDEFINES=['LINUX'])
-linux_sample_env.AppendUnique(LIBPATH=[env.get('BUILD_DIR')])
linux_sample_env.AppendUnique(LIBS=[
'coap',
'connectivity_abstraction',
linux_sample_env = env.Clone()
linux_sample_env.AppendUnique(CPPPATH=[
+ '#/resource/c_common',
+ '#/resource/c_common/oic_malloc/include',
+ '#/resource/c_common/oic_string/include',
'#/resource/csdk/include',
'#/resource/csdk/stack/include',
'#/resource/include',
linux_sample_env.AppendUnique(CPPPATH=['include'])
linux_sample_env.AppendUnique(CXXFLAGS=['-Wall', '-pthread', '-std=c++0x'])
linux_sample_env.AppendUnique(CPPDEFINES=['LINUX'])
-linux_sample_env.AppendUnique(LIBPATH=[env.get('BUILD_DIR')])
linux_sample_env.AppendUnique(LIBS=[
'coap',
'connectivity_abstraction',
linux_sample_env.AppendUnique(CPPPATH=['include'])
linux_sample_env.AppendUnique(CXXFLAGS=['-Wall', '-pthread', '-std=c++0x'])
linux_sample_env.AppendUnique(CPPDEFINES=['LINUX'])
-linux_sample_env.AppendUnique(LIBPATH=[env.get('BUILD_DIR')])
linux_sample_env.AppendUnique(LIBS=[
'coap',
'connectivity_abstraction',