> 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





_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to