Use the same fancy compile output for .cc files as for .cpp files
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Feb 2012 15:54:00 +0000 (15:54 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 8 Feb 2012 15:54:00 +0000 (15:54 +0000)
build_files/scons/tools/Blender.py

index f8d9eb8b3e1902124ff653afb9c95584d146bed8..afcae061dd0ab3bc0ef4245fe80609560cfa5622 100644 (file)
@@ -437,8 +437,9 @@ def set_quiet_output(env):
     static_ob, shared_ob = SCons.Tool.createObjBuilders(env)
     static_ob.add_action('.c', mycaction)
     static_ob.add_action('.cpp', mycppaction)
+    static_ob.add_action('.cc', mycppaction)
     shared_ob.add_action('.c', myshcaction)
-    shared_ob.add_action('.cpp', myshcppaction)
+    shared_ob.add_action('.cc', myshcppaction)
 
     static_lib = SCons.Builder.Builder(action = mylibaction,
                                        emitter = '$LIBEMITTER',