How about?<br><br>make | grep -v &#39;^Scanning&#39; | sed -e &#39;s/^.*\///&#39;<br><br>Juan<br><br><div class="gmail_quote">On Sun, Dec 19, 2010 at 11:49 PM, Michael Wild <span dir="ltr">&lt;<a href="mailto:themiwi@gmail.com">themiwi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On 12/20/2010 01:01 AM, Campbell Barton wrote:<br>
&gt; Hi, I&#39;m STILL trying to have CMake makefiles replace Blender&#39;s hand<br>
&gt; crafted makefiles.<br>
&gt;<br>
&gt; Now the main sticking point with 2 other developers is they don&#39;t like<br>
&gt; CMakes output, as its overly verbose.<br>
&gt;<br>
&gt; I realize CMake doesn&#39;t need to bend to the whim of all users but<br>
&gt; wondering if we could have something like  RULE_BRIEF_OUTPUT<br>
&gt;<br>
&gt; Rather then printing progress and full path for all files it could<br>
&gt; skip percentage and use a relative path for each C file.<br>
&gt;<br>
&gt; I can try submitting a patch but would first like to know if this<br>
&gt; would be acceptable.<br>
&gt;<br>
&gt; how it looks now...<br>
&gt; --- snip<br>
&gt; Scanning dependencies of target bf_editor_animation<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/anim_channels_defines.c.o<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/anim_channels_edit.c.o<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/anim_deps.c.o<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/anim_filter.c.o<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/anim_ipo_utils.c.o<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/anim_markers.c.o<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/drivers.c.o<br>
&gt; [  0%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/fmodifier_ui.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/keyframes_draw.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/keyframes_edit.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/keyframes_general.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/keyframing.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/animation/CMakeFiles/bf_editor_animation.dir/keyingsets.c.o<br>
&gt; Linking C static library ../../../../lib/libbf_editor_animation.a<br>
&gt; [  1%] Built target bf_editor_animation<br>
&gt; Scanning dependencies of target bf_editor_armature<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/armature_ops.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/editarmature.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/editarmature_generate.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/editarmature_retarget.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/editarmature_sketch.c.o<br>
&gt; [  1%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/poseSlide.c.o<br>
&gt; [  2%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/poseUtils.c.o<br>
&gt; [  2%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/poselib.c.o<br>
&gt; [  2%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/poseobject.c.o<br>
&gt; [  2%] Building C object<br>
&gt; source/blender/editors/armature/CMakeFiles/bf_editor_armature.dir/reeb.c.o<br>
&gt; Linking C static library ../../../../lib/libbf_editor_armature.a<br>
&gt; [  2%] Built target bf_editor_armature<br>
&gt; Scanning dependencies of target bf_editor_curve<br>
&gt; [  2%] Building C object<br>
&gt; source/blender/editors/curve/CMakeFiles/bf_editor_curve.dir/curve_ops.c.o<br>
&gt; [  2%] Building C object<br>
&gt; source/blender/editors/curve/CMakeFiles/bf_editor_curve.dir/editcurve.c.o<br>
&gt; [  2%] Building C object<br>
&gt; source/blender/editors/curve/CMakeFiles/bf_editor_curve.dir/editfont.c.o<br>
&gt; Linking C static library ../../../../lib/libbf_editor_curve.a<br>
&gt; [  2%] Built target bf_editor_curve<br>
&gt; [  5%] Built target bf_editor_datafiles<br>
&gt; ---<br>
&gt;<br>
&gt; What it could look like...<br>
&gt; --- snip<br>
&gt; Entering &#39;source/blender/editors/animation&#39;<br>
&gt;  anim_channels_defines.c<br>
&gt;  anim_channels_edit.c<br>
&gt;  anim_deps.c<br>
&gt;  anim_filter.c<br>
&gt;  anim_ipo_utils.c<br>
&gt;  anim_markers.c<br>
&gt;  drivers.c<br>
&gt;  fmodifier_ui.c<br>
&gt;  keyframes_draw.c<br>
&gt;  keyframes_edit.c<br>
&gt;  keyframes_general.c<br>
&gt;  keyframing.c<br>
&gt;  keyingsets.c<br>
&gt; Linking C static library ../../../../lib/libbf_editor_animation.a<br>
&gt; [  1%] Built target bf_editor_animation<br>
&gt; Entering &#39;source/blender/editors/armature&#39;<br>
&gt;  armature_ops.c<br>
&gt;  editarmature.c<br>
&gt;  editarmature_generate.c<br>
&gt;  editarmature_retarget.c<br>
&gt;  editarmature_sketch.c<br>
&gt;  poseSlide.c<br>
&gt;  poseUtils.c<br>
&gt;  poselib.c<br>
&gt;  poseobject.c<br>
&gt;  reeb.c<br>
&gt; Linking C static library ../../../../lib/libbf_editor_armature.a<br>
&gt; [  2%] Built target bf_editor_armature<br>
&gt; Entering &#39;source/blender/editors/curve&#39;<br>
&gt;  curve_ops.c<br>
&gt;  editcurve.c<br>
&gt;  editfont.c<br>
&gt; Linking C static library ../../../../lib/libbf_editor_curve.a<br>
&gt; [  2%] Built target bf_editor_curve<br>
&gt; [  5%] Built target bf_editor_datafiles<br>
&gt; ---<br>
&gt;<br>
<br>
IMHO, I think the abbreviated output like you show it is pretty much<br>
useless in parallel builds as it gets all jumbled up. No telling to<br>
which target a certain output line belongs. I&#39;d prefer<br>
<br>
Entering source/blender/editors/animation<br>
Scanning dependencies of target bf_editor_animation<br>
  CMakeFiles/bf_editor_animation.dir/anim_channels_defines.c.o<br>
  CMakeFiles/bf_editor_animation.dir/anim_channels_edit.c.o<br>
  CMakeFiles/bf_editor_animation.dir/anim_deps.c.o<br>
  CMakeFiles/bf_editor_animation.dir/anim_filter.c.o<br>
  CMakeFiles/bf_editor_animation.dir/anim_ipo_utils.c.o<br>
  CMakeFiles/bf_editor_animation.dir/anim_markers.c.o<br>
  CMakeFiles/bf_editor_animation.dir/drivers.c.o<br>
  CMakeFiles/bf_editor_animation.dir/fmodifier_ui.c.o<br>
  CMakeFiles/bf_editor_animation.dir/keyframes_draw.c.o<br>
  CMakeFiles/bf_editor_animation.dir/keyframes_edit.c.o<br>
  CMakeFiles/bf_editor_animation.dir/keyframes_general.c.o<br>
  CMakeFiles/bf_editor_animation.dir/keyframing.c.o<br>
  CMakeFiles/bf_editor_animation.dir/keyingsets.c.o<br>
Linking C static library ../../../../lib/libbf_editor_animation.a<br>
[  1%] Built target bf_editor_animation<br>
Entering source/blender/editors/armature<br>
Scanning dependencies of target bf_editor_armature<br>
  CMakeFiles/bf_editor_armature.dir/armature_ops.c.o<br>
  CMakeFiles/bf_editor_armature.dir/editarmature.c.o<br>
  CMakeFiles/bf_editor_armature.dir/editarmature_generate.c.o<br>
  CMakeFiles/bf_editor_armature.dir/editarmature_retarget.c.o<br>
  CMakeFiles/bf_editor_armature.dir/editarmature_sketch.c.o<br>
  CMakeFiles/bf_editor_armature.dir/poseSlide.c.o<br>
  CMakeFiles/bf_editor_armature.dir/poseUtils.c.o<br>
  CMakeFiles/bf_editor_armature.dir/poselib.c.o<br>
  CMakeFiles/bf_editor_armature.dir/poseobject.c.o<br>
  CMakeFiles/bf_editor_armature.dir/reeb.c.o<br>
Linking C static library ../../../../lib/libbf_editor_armature.a<br>
[  2%] Built target bf_editor_armature Scanning dependencies of target<br>
bf_editor_curve<br>
Entering source/blender/editors/curve<br>
  CMakeFiles/bf_editor_curve.dir/curve_ops.c.o<br>
  CMakeFiles/bf_editor_curve.dir/editcurve.c.o<br>
  CMakeFiles/bf_editor_curve.dir/editfont.c.o<br>
Linking C static library ../../../../lib/libbf_editor_curve.a<br>
[  2%] Built target bf_editor_curve<br>
[  5%] Built target bf_editor_datafiles<br>
<br>
I.e., the output object-file names are relative to the<br>
CMAKE_CURRENT_BINARY_DIR. This way you still can tell to which target a<br>
output line belongs, although in parallel builds you still lose the<br>
directory information.<br>
<br>
But honestly, I think that CMake is by no means too verbose. Your<br>
proposal wouldn&#39;t change the number of lines displayed anyway, and for<br>
large libraries with many source files it makes sense to have the<br>
percentage there. Also, full paths are unambiguous.<br>
<br>
<br>
My 2c<br>
<br>
Michael<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>