I recently upgraded my project to CMake, one thing is annoying. When creating the source files, it prints the directory in which the object files are saved.
[ 13%] Building CXX object a/CMakeFiles/a.dir/src/A.cpp.o
[ 14%] Building CXX object b/CMakeFiles/b.dir/src/B.cpp.o
[ 15%] Building CXX object c/CMakeFiles/c.dir/src/C.cpp.o
I want to do it as follows
[ 13%] Building CXX object A.cpp.o
[ 14%] Building CXX object B.cpp.o
[ 15%] Building CXX object C.cpp.o
I can not find anything about this.
Ramy source
share