jbd wrote:
... i tried :
FILE (GLOB SRC_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} Test*.cpp)
but it doesn't work.
This works here with CMake 2.4.2:
FILE(GLOB FOO RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.c*)
MESSAGE("DBG FOO=${FOO}")
Jan.
___
C
> 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