[CMake] export list of files, etags

Jan Woetzel jw at mip.informatik.uni-kiel.de
Tue Jan 10 09:02:57 EST 2006


Hi Eddy,
that's the "simple" way we do it (on Unix):

# target etags/tags
IF (UNIX)
  ADD_CUSTOM_TARGET(tags etags --members --declarations  `find . -name 
*.cc -or -name *.hh -or -name *.cpp -or -name *.h -or -name *.c -or 
-name *.f`)
  ADD_CUSTOM_TARGET(etags DEPENDS tags)
ENDIF (UNIX)

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