Hi Mathieu, May be you could try the following ...
file(GLOB log_files "*.log") if(log_files) execute_process(${CMAKE_COMMAND} -E tar cvfz test.tgz ${log_files}) endif() Hth Jc On Wed, Jun 8, 2011 at 12:05 PM, Mathieu Malaterre < mathieu.malate...@gmail.com> wrote: > Hi there, > > Slightly off topic, but how do people cope with cmd.exe not > expanding wildcards (*) ? > > I would like to do something like: > > cmd> cmake -E tar cvfz test.tgz *.log > > Thanks > -- > Mathieu > _______________________________________________ > 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 > -- +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://www.cmake.org/mailman/listinfo/cmake