[CMake] Getting file and line in message

Jan Woetzel jw at mip.informatik.uni-kiel.de
Tue Aug 29 06:00:25 EDT 2006


Luigi Calori wrote:

> Is there a way to get into a message line which file the message line 
> is in and which line number?

CMAKE_CURRENT_LIST_LINE etc..
See

http://www.cmake.org/Wiki/CMake_Useful_Variables

Jan-.

-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 310]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-4477
  Fax   +49-431-880-4845
  Mob.  +49-179-2937346
--------------------------------------------------
  Url   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list