Daniel Dekkers wrote: > On 12/21/2011 05:25 PM, André Caron wrote: > Get rid of the file(GLOB ...). Never, ever use it unless you know > exactly what you're doing. Using it usually breaks something. > > On Dec 21, 2011, at 5:59 PM, David Cole wrote: > I agree with the advice to get rid of file(GLOB > > What's the alternative. Enumerate all your filenames by hand?
Yes. This is no real problem as you need to do this only once. You can even use the current CMake code to MESSAGE() out whatever CMake currently finds using FILE(GLOB) and just copy that into your CMakeLists.txt Eike --
signature.asc
Description: This is a digitally signed message part.
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
