[Cmake] AUX_SOURCE_DIRECTORY bug ?

Jan Woetzel jw at mip.informatik.uni-kiel.de
Sat, 07 Feb 2004 06:01:18 +0100


hilary oliver wrote:
....

>Ok, thanks for the info. I guess I just thought AUX_SOURCE_DIRECTORY
>would let me get away with not listing every file explicitly.
>  
>

Hi Hilary,

you may want to try "wildcard" selection like this:

FILE(GLOB FOO_SRC  *.cpp)

within your subdir to feed teh filenames into teh variable.

Jan.



-- 

  Dipl.-Ing. Jan Woetzel
--------------------------------------------------
  University of Kiel
  Institute of Computer Science and Applied Mathematics
  Hermann-Rodewald-Str. 3 [room 401]
  24098 Kiel/Germany
--------------------------------------------------
  Phone +49-431-880-1418
  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