Automatically detect C++11 flags for supported compilers.
authorOssama <ossama.othman@intel.com>
Thu, 22 Jan 2015 05:49:16 +0000 (21:49 -0800)
committerPatrick Lankswert <patrick.lankswert@intel.com>
Wed, 18 Feb 2015 18:20:07 +0000 (18:20 +0000)
commit201be3d87972a9292d3811bb4485123a9ead1d8b
tree9475ee3e0fbb6948c720342370d2c90d01ff479e
parenta2e0ca0939af7409b0cc3e6c76047c9836396786
Automatically detect C++11 flags for supported compilers.

This patch set allows the required C++11 command line flags to
be automatically set earlier in the build process.  Currently
only gcc is supported, but adding support for other compilers
is straightforward.  Furthermore, changes are for the most part
isolated to the new `iotivityconfig' python package.  There should
be no need to update SConscript files found throughout the
iotivity source tree.

Change-Id: I4ba0f6712e4a56a1a97630e511e9aabfdcd9e349
Signed-off-by: Ossama <ossama.othman@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/240
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
Reviewed-by: Patrick Lankswert <patrick.lankswert@intel.com>
25 files changed:
.gitignore
build_common/SConscript
build_common/iotivityconfig/__init__.py [new file with mode: 0644]
build_common/iotivityconfig/compiler/__init__.py [new file with mode: 0644]
build_common/iotivityconfig/compiler/configuration.py [new file with mode: 0644]
build_common/iotivityconfig/compiler/default_configuration.py [new file with mode: 0644]
build_common/iotivityconfig/compiler/factory.py [new file with mode: 0644]
build_common/iotivityconfig/compiler/gcc_configuration.py [new file with mode: 0644]
resource/examples/SConscript
resource/oc_logger/SConscript
resource/oc_logger/examples/SConscript
resource/src/SConscript
service/notification-manager/SConscript
service/notification-manager/SampleApp/linux/SConscript
service/protocol-plugin/plugin-manager/SConscript
service/protocol-plugin/plugins/SConscript
service/protocol-plugin/sample-app/linux/SConscript
service/soft-sensor-manager/SConscript
service/soft-sensor-manager/SampleApp/linux/SSMTesterApp/SConscript
service/soft-sensor-manager/SampleApp/linux/THSensorApp/SConscript
service/soft-sensor-manager/SampleApp/linux/THSensorApp1/SConscript
service/things-manager/SConscript
service/things-manager/sampleapp/linux/configuration/SConscript
service/things-manager/sampleapp/linux/groupaction/SConscript
service/things-manager/sampleapp/linux/groupsyncaction/SConscript