[CMake] file-glob question
    Eric NOULARD 
    eric.noulard at gmail.com
       
    Mon Nov 10 06:42:05 EST 2008
    
    
  
Le Mon, 10 Nov 2008 12:36:04 +0100,
"Steven Van Ingelgem" <steven at vaningelgem.be> a écrit :
> Hi all,
> 
> 
> I'm trying to do the following:
> 
> file(GLOB PLUGINS plugins/*)
> 
> This returns all the absolute paths to the plugins. Which is fine.
> 
> But, when I try:
> 
> file(GLOB PLUGINS RELATIVE plugins/*)
Woud you try:
file(GLOB PLUGINS RELATIVE plugins plugins/*)
see documentation
file(GLOB variable [RELATIVE path] [globbing expressions]...)
 
> It gives me an error about "file GLOB requires a glob expression
> after the directory"
[...]
> Or is it something I am interpreting wrong?
more careful doc reading :=)
-- 
Erk
    
    
More information about the CMake
mailing list