On 2013-07-12 01:49+0200 Pau Garcia i Quiles wrote:
Hello,Sorry, the example was wrong (copy & paste from a bad revision). This is the right one: ExternalProject_Add( graphicsmagick DOWNLOAD_NAME graphicsmagick.exe DOWNLOAD_DIR ${WINST_BASEDIR}/downloads URL ${graphicsmagick_URL} URL_MD5 ${graphicsmagick_MD5}* EXTRACT_COMMAND <DOWNLOAD_DIR>graphicsmagick.exe /VERYSILENT /NORESTART /DIR=\"${WINST_PREFIX}/bin\" /NOICONS /SP-* LOG_DOWNLOAD 1 LOG_UPDATE 1 LOG_CONFIGURE 1 LOG_BUILD 1 LOG_TEST 1 LOG_INSTALL 1 )
Hi Paul: I don't think I will need your enhancement for the particular needs of the build_projects project, but my feeling is that ExternalProject is already such a useful and powerful module that it is sure to attract additional enhancements like yours. But it also appears that CMake commands such as file(DOWNLOAD ... that are used by the ExternalProject module need some work (e.g., for *.tar.xz files that are downloaded by file(DOWNLOAD... ). So I will return to that topic in the next post. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ -- 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
