summaryrefslogtreecommitdiffstats
path: root/Utilities/cmexpat/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* expat: Activate POSIX APIs even without compiler extensionsRaul Tambre2022-11-101-0/+6
| | | | | | | | | | | | | | | | | | | Compile with the preprocessor definitions necessary for the `arc4random` family so it's available even when compiler extensions are not enabled. Similar things are done in cmbzip2, cmcurl, cmlibarchive, cmliblizma and cmlibuv. This issue surfaced on a nightly bot after glibc 2.36 added arc4random functions. cmlibarchive defines the necessary macro, but also relies on `HAVE_ARC4RANDOM_BUF`. cmlibarchive's check with the necessary macro defined was skipped due to cmexpat running the same check before, but without the macros, and it being cached. This extends commit c7c3e39e4f (Utilities: Activate POSIX APIs even without compiler extensions, 2022-06-02, v3.24.0-rc1~34^2) to cover our build of expat too. Issue: #20454
* Utilities: Suppress warnings in third-party code with IBMClangAaron Liu2022-01-271-1/+1
|
* LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* cmexpat: Create expat_config.h in build within CMake itselfBrad King2021-05-241-0/+2
| | | | Expat 2.4.1 no longer supports compiling without this header.
* Utilities: Suppress warnings in third-party code with NVHPCBrad King2021-04-201-1/+1
|
* Utilities: Suppress warnings in third-party code when using IntelLLVMBrad King2021-01-281-1/+1
|
* expat: Update CMake build for 2.2.9Brad King2019-11-111-1/+0
|
* Utilities: Suppress warnings in third-party code when using XLClangBrad King2019-02-251-1/+1
|
* Remove now-unused code once used for MIPSpro on IRIXBrad King2019-02-211-1/+1
| | | | | | In commit beb991110d (Remove now-unused code once used on IRIX, 2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support. Also remove remnants of MIPSpro compiler support.
* expat: Update CMake build for 2.2.3Brad King2017-08-071-3/+4
|
* expat: Suppress compiler warningsBrad King2016-05-051-0/+8
| | | | We are not developing expat so we do not care about warnings.
* expat: Re-write CMake build system for our needsBrad King2016-05-051-33/+12
| | | | Hard-code production of a static library. Rename to `cmexpat`.
* expat: Hard-code configuration options for our needsBrad King2016-05-051-16/+0
| | | | | Also include our configured header on Windows too to get the same configuration.
* expat: Drop upstream test/install/packaging codeBrad King2016-05-051-67/+0
|
* Merge branch 'upstream-expat' into update-expatBrad King2016-05-051-0/+121
| | | | | * upstream-expat: expat 2016-05-01 (379213ca)
* Drop old expat sources to make room for a fresh importBrad King2016-05-051-34/+0
|
* Clean up install rules of CMake itself (#14371)Brad King2013-08-261-1/+1
| | | | | | | | | | | Ensure CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR are always relative paths in CMake code, and set defaults accordingly. Use the install() command instead of install_files() and install_targets(). This is more modern and also avoids stripping of the first character from user-specified destinations. While at it, fix the default destinations reported in the bootstrap help.
* Remove useless include file filtersBrad King2009-12-081-1/+0
| | | | | | | | | | The commit "Cleanup regular expressions" removed real include filter expressions and replaced them with lines like INCLUDE_REGULAR_EXPRESSION("^.*$") that do no filtering. We simplify the change by removing the lines altogether.
* Install third-party utility copyright noticesBrad King2009-09-281-0/+1
| | | | | | | Some of our third-party utilities have licenses that require their copyright and license notices to be distributed with binary forms. This commit adds installation rules to include these notices with installed CMake documentation.
* COMP: Cleanup regular expressionsAndy Cedilnik2005-12-301-1/+1
|
* COMP: More cleanupsAndy Cedilnik2005-03-161-0/+4
|
* ENH: Initial import of expatAndy Cedilnik2004-06-251-0/+30