[CMake] List of files

Leopold Palomo Avellaneda leo at alaxarxa.net
Fri Mar 28 04:48:44 EDT 2008


A Divendres 28 Març 2008, Andy Lego va escriure:
> Try this after file command:
>
> string(REPLACE ";" " " plugin_STR "${plugin_STR}")
>
> That said, depending on what you need to do, this may be the wrong type of
> list.
>

Nops,

it doesn't works. The problem is the line feed. I obtain _only_ the first 
entry, not a list.

regards,

Leo


> On Thu, Mar 27, 2008 at 5:08 PM, Leopold Palomo Avellaneda
>
> <leo at alaxarxa.net> wrote:
> > Hi,
> >
> >  using this line:
> >  file(GLOB plugin_STR RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.c *.cpp
> > *.cxx *.h *.hpp *.ui)
> >
> >
> >  I obtain a list like this:
> >
> > 
> > datosview.cpp;plugincanualesods.cpp;datosview.h;plugincanualesods.h;datos
> >base.ui
> >
> >  how an I obtain a list in this way?
> >
> >  datosview.cpp plugincanualesods.cpp datosview.h plugincanualesods.h
> >  datosbase.ui
> >
> >
> >  Regards,
> >
> >  Leo
> >
> >  --
> >  --
> >  Linux User 152692
> >  PGP: 0xF944807E
> >  Catalonia
> >
> > _______________________________________________
> >  CMake mailing list
> >  CMake at cmake.org
> >  http://www.cmake.org/mailman/listinfo/cmake



-- 
--
Linux User 152692
PGP: 0xF944807E
Catalonia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080328/71c60cd7/attachment.pgp>


More information about the CMake mailing list