Adjust compile messages to handle "Shared" targets .
authorCharlie Lenahan <charlie.lenahan@intel.com>
Tue, 19 May 2015 22:15:37 +0000 (18:15 -0400)
committerErich Keane <erich.keane@intel.com>
Tue, 26 May 2015 22:20:13 +0000 (22:20 +0000)
Scons has compile messages for Static targets and Shared targets.
Adds shared targets for non-verbose builds, to allow warning messages
to be more visible(standout).

Change-Id: I7f4a5e7dd53c70003c963a486dcb0dfd99bb0ff7
Signed-off-by: Charlie Lenahan <charlie.lenahan@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1043
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Caiwen Zhang <caiwen.zhang@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
build_common/SConscript

index 3c50141..5666630 100644 (file)
@@ -108,8 +108,11 @@ tc_set_msg = '''
 '''
 if env.get('VERBOSE') == False:
        env['CCCOMSTR'] = "Compiling $TARGET"
+       env['SHCCCOMSTR'] = "Compiling $TARGET"
        env['CXXCOMSTR'] = "Compiling $TARGET"
+       env['SHCXXCOMSTR'] = "Compiling $TARGET"
        env['LINKCOMSTR'] = "Linking $TARGET"
+       env['SHLINKCOMSTR'] = "Linking $TARGET"
        env['ARCOMSTR'] = "Archiving $TARGET"
        env['RANLIBCOMSTR'] = "Indexing Archive $TARGET"