[cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Thu Jul 11 20:45:03 EDT 2013
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
__________________________
More information about the cmake-developers
mailing list