[cmake-developers] Safe source list GLOBs
Wojciech Knapik
wmknapik at gmail.com
Wed May 15 04:48:31 EDT 2013
On Tue, May 14, 2013 at 03:55:37PM -0400, Bill Hoffman wrote:
> Globs simply do not work well for source files.
GLOBs work great for source files. Just not with CMake currently ;]
> I don't think this will be come a module in CMake.
>
> To have this work in a generic way, you would have to run something that
> did the glob with each time the build system was run, and be able to
> change the sources being compiled if something changed. This would
> have to work with VS, make, ninja, Xcode, and all the other generators.
> This module is very "make" centric and would only work for that
> generator, so I do not think we would want to include it in CMake proper.
Agreed. The problem remains though.
WK
More information about the cmake-developers
mailing list