[CMake] File globbing with relative path

Jan Woetzel jw at mip.informatik.uni-kiel.de
Mon Jun 26 13:25:45 EDT 2006


jbd wrote:

>I'd like to retrieve the relative path of a list of files. For example :
>FILE (GLOB SRC_FILES Test*.cxx Test*.cpp Test*.c)
>  
>
See the RELATIVE option

  FILE(GLOB variable [RELATIVE path] [globbing expressions]...)

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-4054
  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