[CMake] Re: File globbing with relative path

jbd evadream.mlist at evadream.net
Mon Jun 26 13:35:46 EDT 2006


> See the RELATIVE option
> 
>   FILE(GLOB variable [RELATIVE path] [globbing expressions]...)
> 
> Jan.

Thank you for suck a quick answer, but i can't figure out to make that
work. I'm running CMake 2.2, and cmake --help-command FILE show me :

 FILE(GLOB variable [globbing expressions]...)
 and
 FILE(RELATIVE_PATH variable directory file)	

which seems to be two different things for FILE.

Sorry, but i'm sure i misunderstanding something, so i tried :
FILE (GLOB SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} Test*.cpp) 
but it doesn't work.

Thanks again for your help







More information about the CMake mailing list