# 32-bit:
BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/32bit/release
wget --no-check-certificate --no-host-directories --force-directories
--cut-dirs=5 \
${BASEURL}/tinyxml2/libtinyxml2-devel/libtinyxml2-devel-2.1.0-1.tar.xz \
${BASEURL}/tinyxml2/libtinyxml2-devel/setup.hint \
${BASEURL}/tinyxml2/libtinyxml2_2/libtinyxml2_2-2.1.0-1.tar.xz \
${BASEURL}/tinyxml2/libtinyxml2_2/setup.hint \
${BASEURL}/tinyxml2/setup.hint \
${BASEURL}/tinyxml2/tinyxml2-2.1.0-1-src.tar.xz \
${BASEURL}/tinyxml2/tinyxml2-debuginfo/setup.hint \
${BASEURL}/tinyxml2/tinyxml2-debuginfo/tinyxml2-debuginfo-2.1.0-1.tar.xz
# 64-bit:
BASEURL=https://dl.dropboxusercontent.com/u/119453582/Cygwin/64bit/release
wget --no-check-certificate --no-host-directories --force-directories
--cut-dirs=5 \
${BASEURL}/tinyxml2/libtinyxml2-devel/libtinyxml2-devel-2.1.0-1.tar.xz \
${BASEURL}/tinyxml2/libtinyxml2-devel/setup.hint \
${BASEURL}/tinyxml2/libtinyxml2_2/libtinyxml2_2-2.1.0-1.tar.xz \
${BASEURL}/tinyxml2/libtinyxml2_2/setup.hint \
${BASEURL}/tinyxml2/setup.hint \
${BASEURL}/tinyxml2/tinyxml2-2.1.0-1-src.tar.xz \
${BASEURL}/tinyxml2/tinyxml2-debuginfo/setup.hint \
${BASEURL}/tinyxml2/tinyxml2-debuginfo/tinyxml2-debuginfo-2.1.0-1.tar.xz
cppcheck comes bundled with a statically linked version of tinyxml2.
However,
a number of major distros (CentOS, Debian, Fedora, Ubuntu) package tinyxml2
separately, and their versions of cppcheck link dynamically against
that. This
is the approach I would like to take with Cygwin. Needless to say,
tinyxml2 is
found in the repos mentioned above [1].
This is not the most recent version of tinyxml2, but the same version that
cppcheck-1.66 statically links against. The next release of cppcheck is
expected to take the latest version of tinyxml2 [2], so I will update
tinyxml2
when cppcheck-1.67 is released.
Many thanks in advance for looking at this package,
Dave.
[1] - http://pkgs.org/search/tinyxml2
[2] -
https://github.com/danmar/cppcheck/commit/9bdeea56424d800007cc28fba85b503ed9512f85