[CMake] A SUGGESTION TO ADD SOME MORE FUNCTIONS FOR CMAKE

Oh K dmbmate at gmail.com
Wed Sep 28 04:29:34 EDT 2005


Hello,

Instead of listing up source files manually, I want cmake to
automatically track the list of source files in certain directories.

I think cmake needs to provide the same function as 'FILE(GLOB ...)'
for 'cmake –E' command and more functions for 'STRING' command like
querying the length of a string, extracting a substring of a string
and some other common string utilities.  It would also be helpful if
FILE(GLOB ...) command supports the acquisition of relative file path
from the current path in addition to the absolute path.

While 'cmake' itself is a quite powerful build system language, I
expect that it would be more powerful if it can support these
utilities.

K Oh


More information about the CMake mailing list