[CMake] CMake error output and .vcxproj.filters files.

Golebiewski, Jakub Jakub.Golebiewski at dnvgl.com
Wed Jun 1 05:16:48 EDT 2016


Hi,

We've recently switched to using cmake and I've got some 'issues'. We use Windows with Visual Studio and MSVC (Visual Studio 10 2010 Win64 generator).


1.       In cmake error output the output format is not compatible with VS so when the VS console displays it, you cannot click on the filename to open it:

I get this:


1>  CMake Error at D:/depot/ef/wrk/CMakeLists.txt:210 (GET_TARGET_PROPERTY):



And it should look like this for VS to work:


1>  CMake Error at D:/depot/ef/wrk/CMakeLists.txt(210) (GET_TARGET_PROPERTY):



Can I change the format in CMakeLists.txt or do I need to patch the sources? In the case of the latter could you point me to right place in the code?



2.       When I get an error in CMake it displays the CMakeListst.txt file, the error occurred in and the root file. Is this possible to get the whole 'stack trace' with all the files

That are involved (through ADD_SUBDIRECTORY)?



3.       CMake seems to generate .vcxproj.filters files as well as .vcxproj files. Is there a way to turn this off so people could use their own .filters files?

Thanks for help!


Best regards
for Det Norske Veritas Poland Sp. z o.o.

Jakub Golebiewski M.Sc
Software Engineer, Development Gdynia

E-mail jakub.golebiewski at dnvgl.com<mailto:jakub.golebiewski at dnvgl.com>
Mobile +48 606 33 66 59
www.dnvgl.com<http://www.dnvgl.com/>  |  LinkedIn<http://www.linkedin.com/company/dnvgl>

[DNV GL]<http://www.dnvgl.com/>


**************************************************************************************
This e-mail and any attachments thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Unauthorized use, copying or further full or partial distribution of this e-mail or its contents is prohibited.
**************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160601/af0d0bd9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 2815 bytes
Desc: image001.gif
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160601/af0d0bd9/attachment.gif>


More information about the CMake mailing list