Dmitry Marakasov wrote:
* Bill Hoffman ([EMAIL PROTECTED]) wrote:
That said glob recurse is a bad way to get the list of source files for
many other reasons.
What are those, btw?
If someone adds a new source file or removes one from where glob is
finding them, you have to know to re-run cmake for this project. If you
explicitly list all the sources then the only way to add/remove a source
is to edit the input to CMake. Once you do that cmake will
automatically re-run. So, the best practice is to list out all the
source files. Using glob to get the source list is a hack as far as I
am concerned.
-Bill
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake