Merge branch 'genex-target-objects-ordering' into release
Merge branch 'xcode-ios-compiler-id' into release
CMake Nightly Date Stamp
CMake Nightly Date Stamp
CMake Nightly Date Stamp
Fix link line order when shared libraries are de-duplicated

Since commit v3.1.0-rc1~227^2~1 (De-duplicate shared library targets in
generated link lines, 2014-07-30) we de-duplicate shared library targets
on the link line.  However, some toolchains will fail linking if an
executable is linking to a shared library that is not used directly and
a static library that depends on the shared one.  The linker may not
keep the reference to the shared library the first time and then the
symbols needed by the static library may not be found.

Fix this by reversing the direction of the for loop that removes the
duplicate shared libraries, in order to ensure that the last occurrence
of the library is left instead of the first one.

Co-Author: Brad King <brad.king@kitware.com>
Test linking to a shared lib needed only through a static lib
Merge topic 'fix_link-line-dedup_regression' into next

a4716b6b Test linking to a shared lib needed only through a static lib
3c3589e1 Fix link line order when shared libraries are de-duplicated
Merge branch 'master' into next
curl: Do not use 'dl' on HP-UX

Re-apply the logic change made by commit v2.8.0~1427 (fix warning on
HPUX, 2008-11-26).
curl: Select file APIs on Windows

Choose small or large file support based on capabilities of compiler
and target platform.
curl: Drop inclusion of .rc file for static lib

The resource file is only needed for the curl .dll, so skip it when
building the static library.  This avoids the need to add the
'/machine:' link flag on MS tools for creating a static library.
curl: Fix detection of headers with dependencies

Restore the check_include_file_concat functionality broken
in upstream curl.  The <net/if.h> header on older OS X versions
depends on <sys/socket.h> begin included first, for example.
curl: Use arch-aware CHECK_TYPE_SIZE results

Re-apply the logic change made by commit v2.8.2~536 (Use arch-aware
CHECK_TYPE_SIZE result, 2009-12-17).  The size of some types must be
selected at preprocessing time when building for multiple archs on OS X.
curl: Fix curl.h inclusion of curlbuild.h from CMake sources

Use a CMake-specific path to this configured header so that it works
when included from a CMake source file in addition to curl sources.
We do not install the Curl headers with CMake, so this hack is okay.
curl: Configure build to work within CMake

Set curl build options as needed for CMake rather than presenting them
to the user in the cache.  Drop the CMAKE_BUILD_CURL_SHARED option for
now.

Change the curl library name to 'cmcurl'.  Disable blocks of code within
curl CMakeLists.txt files that we do not need for CMake, but leave the
code in place to make merging with curl updates easier.
curl: Restore CMake-specific test and install code

Restore the LIBCURL test used previously within CMake.  Restore
installation of the 'COPYING' file with the CMake documentation.
curl: Restore CMake-specific zlib selection code
curl: Restore CURL_CA_BUNDLE option

Restore the option added by commit v2.8.8~200^2 (Add CURL_CA_BUNDLE
option for SSL support, 2012-02-09).
curl: Restore installation of OpenSSL DLLs

Restore logic originally added by commit v2.8.10~119^2~1 (curl: Make
OpenSSL DLLs available to CMake on Windows, 2012-09-06).