[CMake] A QUESTION FOR FILE(GLOB ...) COMMAND

Oh K dmbmate at gmail.com
Thu Sep 29 11:00:46 EDT 2005


Hi,

During the recent survey of cmake, a few questions keep popping up.

When FILE(GLOB ...) command is given with a relative path, an output
variable contains the absolute path of files.  I think it seems
natural if FILE(GLOB ...) command with a relative path returns a list
of files with relative paths and the command with an absolute one does
a list with absolute paths.  I wonder if there is any unknown issue
that the queried file paths must be absolute for the build file
generation.

This question is simply for a personal curiosity.  It would be nice if
anyone can give me an answer.

Best regards,

K Oh


More information about the CMake mailing list