gccfilter

gccfilter and gcc 4.7.2 does not work, stops compiling

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 01:24:52
问题 I have successfully installed the gccfilter (http://www.mixtion.org/gccfilter/) in my toolchain. The filter should actually work because all perl modules and other stuff has been installed the problem is that it does not work properly when I use for example the following command line: gccfilter -c -a g++ -std=c++11 -O3 -DNDEBUG -I/"tonnes of includes" -o CMakeFiles/...../main.cpp.o -c /...path.../App/main.cpp .../variant.hpp:17:0, from .../SceneParser.hpp:12, from .../SimulationManager.hpp:12

Make CMake use gccfilter

喜欢而已 提交于 2019-12-04 08:44:58
问题 GCCFilter is a neat perl script that allows to color the output of GCC and thus makes debugging much more fun and, more important, faster. You can use GCCFilter with a CMake generated Makefile by calling gccfilter -a -c make However, this approach has some drawbacks: Delayed output of CMake status infos, no color in the CMake commands are the most obvious. The question: Is there a way to write some CMake module that searches for gccfilter if the compiler is gcc , checks if, say COLOR_CXX is

Make CMake use gccfilter

此生再无相见时 提交于 2019-12-03 00:46:56
GCCFilter is a neat perl script that allows to color the output of GCC and thus makes debugging much more fun and, more important, faster. You can use GCCFilter with a CMake generated Makefile by calling gccfilter -a -c make However, this approach has some drawbacks: Delayed output of CMake status infos, no color in the CMake commands are the most obvious. The question: Is there a way to write some CMake module that searches for gccfilter if the compiler is gcc , checks if, say COLOR_CXX is set (rather easy up to here) and then tells CMake to replace all calls to gcc by gccfilter -a -c gcc .