Hi Folks, Being able to activate the dynamic globing on a per-directory or per-target or per-glob call basis would be nice. Coupled with "automoc" feature of Qt, that would simplify things greatly.
I would be happy to test patches on our large scale project "3DSlicer". See https://github.com/Slicer/Slicer Thanks Jc On Thu, May 30, 2013 at 11:50 AM, Matthew Woehlke < matthew.woeh...@kitware.com> wrote: > On 2013-05-30 08:47, Wojciech Knapik wrote: > >> Working with make taught me once and for all, that functions like >> [execute_process] should be avoided whenever possible. A build tool >> >> creates files from files via the means of targets. So if you want to >> use a tool like this effectively, you should use targets to achieve >> your goals, otherwise unexpected things will happen. >> > > That is true in most cases. However it is sometimes necessary, e.g. run > some tool to get its version string (because that information is not > otherwise available) in order to determine the correct install destination > for some files. > > While add_custom_command is to be preferred in almost all cases, there are > definitely correct uses for execute_process, usually similar to uses for > e.g. try_compile (i.e. gathering system configuration information). > > (Most recently, I am using it to parse a Shiboken typesystem XML to > determine the list of source files that will be created by binding > generation in order to feed them to add_library. This would be impossible > at build time short of using an external project.) > > -- > Matthew > > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at http://www.kitware.com/** > opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ> > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/cgi-**bin/mailman/listinfo/cmake-**developers<http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers> > -- +1 919 869 8849
-- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers