Cool,<br><br>You might want to put a '^' after each \|, if that is how grep regex handles it. I've tended toward egrep which is more perl like when doing more complicated expressions. Color is probably lost since it is no longer a tty.<br>
<br>Juan<br><br><div class="gmail_quote">On Mon, Dec 20, 2010 at 3:56 PM, Campbell Barton <span dir="ltr"><<a href="mailto:ideasman42@gmail.com">ideasman42@gmail.com</a>></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;">
@Michael Wild. good point about threaded builds, so I take back the<br>
bit about "Entering directory, then filenames only", nevertheless.<br>
some way to reduce flooding the console when rebuilding a single file<br>
would be much appreciated.<br>
<br>
@Juan, from your suggestion, I now use this.<br>
<br>
---<br>
#!/bin/bash<br>
# filters CMake output to be more like nan-makefiles<br>
<br>
FILTER="^Scanning \|Linking \(C\|CXX\) static library \|Built target "<br>
make $@ | grep --line-buffered -v "$FILTER" | sed -e 's/^.*\// /'<br>
echo "Build Done"<br>
---<br>
<br>
Jesper Eskilson, agree supporting make -s would be good to have.<br>
<br>
On Mon, Dec 20, 2010 at 10:05 AM, Jesper Eskilson<br>
<<a href="mailto:jesper.eskilson@iar.com">jesper.eskilson@iar.com</a>> wrote:<br>
> On 12/20/2010 01:01 AM, Campbell Barton wrote:<br>
>><br>
>> Hi, I'm STILL trying to have CMake makefiles replace Blender's hand<br>
>> crafted makefiles.<br>
>><br>
>> Now the main sticking point with 2 other developers is they don't like<br>
>> CMakes output, as its overly verbose.<br>
>><br>
>> I realize CMake doesn't need to bend to the whim of all users but<br>
>> wondering if we could have something like RULE_BRIEF_OUTPUT<br>
>><br>
>> Rather then printing progress and full path for all files it could<br>
>> skip percentage and use a relative path for each C file.<br>
>><br>
>> I can try submitting a patch but would first like to know if this<br>
>> would be acceptable.<br>
><br>
> I've submitted a bugreport about this:<br>
> <a href="http://www.cmake.org/Bug/view.php?id=7062" target="_blank">http://www.cmake.org/Bug/view.php?id=7062</a>. It was submitted almost two years<br>
> ago, so I'm not sure it is getting very much attention by the CMake people.<br>
><br>
> --<br>
> Jesper Eskilson<br>
> Developer<br>
> IAR Systems<br>
><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<br>
> <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:<br>
> <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>
><br>
<br>
<br>
<br>
--<br>
- Campbell<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>