[CMake] CMakeLists.txt location

Alain Miniussi Alain.Miniussi at oca.eu
Wed Sep 13 04:52:28 EDT 2017


Hi,

Is there a way, when printing CMake error, to get the exact location of 
the CMakeLists.txt ?

For example, right now, when I have:

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

I  need to scan all my CMakeLists.txt (~200) to check which one has 
add_executable at line 14.

Thanks

Alain



More information about the CMake mailing list