Hey developer list,

I've sent a mail about this topic half a year ago [1] but didn't get any 
comments/suggestions. Now that 3.0 is near, I thought it's time to ask this 
again:

Is there any interest or are there any objections against 
introducing error reporting using absolute paths in CMake?

I'm quite puzzled by output such as:

CMake Error at src/CMakeLists.txt:14 (add_executable):

It makes it hard for a user of CMake (be it a human or an external tool) to 
locate the exact file that caused the error for no apparent reason. Why don't 
we use absolute paths here?

Would you accept patches that change the behavior and always print absolute 
paths instead for the call stack? Objections?

Note that my original intent is to get a better output format to be able to 
parse the CMake error output programmatically in KDevelop.

[1] http://public.kitware.com/pipermail/cmake/2013-July/055361.html

Greets

-- 
Kevin Funk
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to