summaryrefslogtreecommitdiff
path: root/Utilities/cmThirdParty.h.in
Commit message (Collapse)AuthorAgeFilesLines
* Modernize: Use #pragma once in all header filesKitware Robot2020-09-031-4/+1
| | | | | | | | | | | | | | | | #pragma once is a widely supported compiler pragma, even though it is not part of the C++ standard. Many of the issues keeping #pragma once from being standardized (distributed filesystems, build farms, hard links, etc.) do not apply to CMake - it is easy to build CMake on a single machine. CMake also does not install any header files which can be consumed by other projects (though cmCPluginAPI.h has been deliberately omitted from this conversion in case anyone is still using it.) Finally, #pragma once has been required to build CMake since at least August 2017 (7f29bbe6 enabled server mode unconditionally, which had been using #pragma once since September 2016 (b13d3e0d)). The fact that we now require C++11 filters out old compilers, and it is unlikely that there is a compiler which supports C++11 but does not support #pragma once.
* CMake: Enable use of zstd in libarchiveBrad King2019-03-131-0/+1
| | | | | | | Build zstd as part of CMake or find one on the system. Modify our port of libarchive to use the zstd configured for use with CMake. Issue: #18657
* CTest: Remove submit method 'xmlrpc'Regina Pfeifer2018-11-291-1/+0
|
* Add option to build CMake against a system librhashBrad King2016-11-101-0/+1
| | | | Create a CMAKE_USE_SYSTEM_LIBRHASH option.
* Simplify CMake per-source license noticesBrad King2016-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per-source copyright/license notice headers that spell out copyright holder names and years are hard to maintain and often out-of-date or plain wrong. Precise contributor information is already maintained automatically by the version control tool. Ultimately it is the receiver of a file who is responsible for determining its licensing status, and per-source notices are merely a convenience. Therefore it is simpler and more accurate for each source to have a generic notice of the license name and references to more detailed information on copyright holders and full license terms. Our `Copyright.txt` file now contains a list of Contributors whose names appeared source-level copyright notices. It also references version control history for more precise information. Therefore we no longer need to spell out the list of Contributors in each source file notice. Replace CMake per-source copyright/license notice headers with a short description of the license and links to `Copyright.txt` and online information available from "https://cmake.org/licensing". The online URL also handles cases of modules being copied out of our source into other projects, so we can drop our notices about replacing links with full license text. Run the `Utilities/Scripts/filter-notices.bash` script to perform the majority of the replacements mechanically. Manually fix up shebang lines and trailing newlines in a few files. Manually update the notices in a few files that the script does not handle.
* Add option to build CMake against a system libuvBrad King2016-08-311-0/+1
| | | | Create a CMAKE_USE_SYSTEM_LIBUV option.
* Add option to use a system-installed KWIMLBrad King2015-12-181-0/+1
| | | | | Do not activate it with the general use-system-libs options for now because KWIML is not commonly distributed or available.
* Add option to build CMake against a system jsoncppBrad King2015-01-201-0/+1
| | | | Create a CMAKE_USE_SYSTEM_JSONCPP option.
* Rename header guards to not start with double underscoreSean McBride2014-12-111-2/+2
| | | | | | | | | Use regex to find/replace: __(cm.*_h) \1 Then fix QCMake.h by hand.
* ccmake: Add CMAKE_USE_SYSTEM_FORM option to use libform instead of cmFormÅdne Hovda2014-11-251-0/+1
|
* CMake: Enable use of liblzma in libarchive (#14504)Daniel Pfeifer2014-07-291-0/+1
| | | | | Build liblzma as part of CMake or find one on the system. Modify our port of libarchive to use the liblzma configured for use with CMake.
* Include bzlib.h consistently across CMake build (#10950)Brad King2012-01-131-0/+1
| | | | | | | | | Use the approach originally used in commit f91b3c1d (Add options to build with system utility libraries, 2006-10-19) for all other third-party libraries. Create a "cm_bzlib.h" header wrapper that robustly includes the header from the bzip2 library chosen for the CMake build (either builtin or system version). Include the header wrapper anywhere we need the API provided by <bzlib.h>.
* Include headers from chosen libarchive (#10923)Brad King2010-08-051-0/+1
| | | | | When CMAKE_USE_SYSTEM_LIBARCHIVE is on we must include the system libarchive headers to match the library that will be linked.
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* ENH: Disable the xmlrpc drop method by defaultBrad King2009-06-111-1/+1
| | | | | | | We've chosen to drop our default dependence on xmlrpc. Thus we disable the corresponding CTest submission method and remove the sources for building xmlrpc locally. Users can re-enable the method by setting the CTEST_USE_XMLRPC option to use a system-installed xmlrpc library.
* ENH: Remove option to build cmcurl-7.19.0Brad King2009-06-111-1/+0
| | | | | | This version of curl was added experimentally but does not address the problem we were hoping it fixed (an occasional upload hang). Importing a new curl can wait until the problem is fully diagnosed and addressed.
* ENH: check in ability to build with new curl -f -DCMAKE_USE_NEW_CURL is setBill Hoffman2008-09-291-0/+1
|
* ENH: Add options to build with system utility libraries. Organize inclusion ↵Brad King2006-10-191-0/+26
of third party libraries into a single header per library. This addresses bug#3653.