[cmake-developers] [New Module] Safe source list GLOBs

Wojciech Knapik wmknapik at gmail.com
Sat May 11 23:09:16 EDT 2013


Hello everyone

I recently ran into the issue of GLOBs being unsafe for source lists and
wrote a very simple piece of code to fix the problem. A generalized
version of that code is available here:

https://github.com/wknapik/scm/blob/master/code/cmake/Modules/RegenerateSourceListGlobs.cmake

It seems to work quite well, at least on Linux. If you guys think this
is worth turning into an official module, I can make any changes
deemed necessary. I'm not up for the maintainer role though.

cheers,
WK

PS. The wiki page mentioned in Modules/readme.txt says you should send
stuff like this to cmake-developers, but the email referred in the first
sentence says you should send new module proposals to the cmake list. I
guess the wiki could use an update.



More information about the cmake-developers mailing list