summaryrefslogtreecommitdiffstats
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Introduce cmSubcommandTableRegina Pfeifer2019-08-061-0/+1
|
* Merge topic 'control-block3'Brad King2019-08-051-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | 41364824ad cmFunctionBlocker: Recycle functions 6491270e0d cmFunctionBlocker: Move check for matching args af24e4ef6e cmFunctionBlocker: Move common logic to base ef38ff22f7 cm*FunctionBlocker: Extract function Replay b51fba6298 cmMakefile: Add OnExecuteCommand callback c76500949d cm*FunctionBlocker: Move to source file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3632
| * cmFunctionBlocker: Move common logic to baseRegina Pfeifer2019-07-301-0/+1
| |
* | cmStringAlgorithms: Add cmCatViews and cmStrCat functionsSebastian Holtermann2019-08-011-0/+1
|/
* Merge topic 'command-refactoring3'Brad King2019-07-231-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | dfaa87f1b3 cmState: Support BuiltinCommands as free functions 28f2d12a05 cmCommand: De-virtualize function InvokeInitialPass de77d355ac cmState: Add scripted commands by value 0101ace131 cmUnexpectedCommand: Replace with lambda expression 015001aaf1 cmState: Hold commands by value 1eebc29563 cmCommand: deprecate functions GetMakefile and SetError Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3574
| * cmUnexpectedCommand: Replace with lambda expressionRegina Pfeifer2019-07-211-1/+0
| |
* | bootstrap: Verify C++14 capabilities before using themBrad King2019-07-181-1/+20
|/ | | | | | | | In commit a605bf438e (Extend C++17/C++14 feature checks to cover more standard library APIs, 2019-02-27, cpp-modules-20190312.1~52^2~1) we added checks to the main build of CMake to verify C++14 capabilities before using C++14 flags to build. Add these to the bootstrap check too.
* Merge topic 'cmPropertyMap_unordered_map'Brad King2019-06-121-1/+0
|\ | | | | | | | | | | | | | | | | | | | | | | 00d265e3c8 cmPropertyMap: Use std::unordered_map as container instead of std::map 1b945f95ba cmPropertyMap: Add RemoveProperty method e0a8ff3148 cmPropertyMap: Use std::string as value container class 8d934d861b cmPropertyMap: Make std::map container private 026f65d284 cmPropertyMap: Add GetList method 9e64e617eb cmPropertyMap: Rename GetPropertyList method to GetKeys Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3435
| * cmPropertyMap: Use std::string as value container classSebastian Holtermann2019-06-081-1/+0
| |
* | file: Add GET_RUNTIME_DEPENDENCIES modeKyle Edwards2019-06-101-2/+18
|/ | | | Co-Authored-by: Bryon Bean <bryon.bean@kitware.com>
* Merge topic 'cmFileTimes'Brad King2019-05-231-0/+1
|\ | | | | | | | | | | | | | | | | 5b53cfda24 cmSystemTools: Remove cmSystemToolsFileTime interface 9c576a88d9 Use cmFileTimes instead of cmSystemToolsFileTime interface 4b45a5d5c7 cmFileTimes: New RAII based cmFileTimes class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3358
| * cmFileTimes: New RAII based cmFileTimes classSebastian Holtermann2019-05-221-0/+1
| | | | | | | | | | This adds a new RAII based cmFileTimes class. It is supposed to replace the C style cmSystemToolsFileTime interface.
* | CUDA: More exhaustive checks to determine when to do device linkingRobert Maynard2019-05-211-0/+1
|/ | | | | | | | | Previously CMake used fairly naive logic to determine when to do device linking which caused unnecessary device linking to occur frequently. We now use a more exhaustive algorithm to determine when we have a need for device linking. Fixes: #19238
* cmUVProcessChain: Add cmUVProcessChainKyle Edwards2019-05-071-0/+2
| | | | | | | | | This class is ultimately intended as a replacement for cmsys::Process. It spawns a series of processes using libuv, piping the output of each command into the next. Note: input support has not yet been implemented because write support has not yet been implemented on cmUVStreambuf.
* bootstrap: Update for new KWSys configuration optionBrad King2019-04-171-0/+2
|
* Retire cmCommandArgumentsHelperRegina Pfeifer2019-04-041-1/+0
|
* Introduce cmArgumentParserRegina Pfeifer2019-04-041-0/+1
|
* Rename cmFileTimeComparison to cmFileTimeCacheSebastian Holtermann2019-03-181-1/+1
| | | | | The name `cmFileTimeCache` reflects the functionality of the class more appropriately.
* New cmFileTime classSebastian Holtermann2019-03-181-0/+1
| | | | | | The new cmFileTime class stores the file modification time as an OS independent nanosecond count. Its main use is to load and compare file modification times in nanosecond and second resolution.
* Merge topic 'refactor_cmfilecopier'Brad King2019-03-141-0/+2
|\ | | | | | | | | | | | | e2e8f6b132 cmFileCommand: Factor out cmFileCopier and cmFileInstaller Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2664
| * cmFileCommand: Factor out cmFileCopier and cmFileInstallerBryon Bean2019-03-131-0/+2
| | | | | | | | Split these classes out into their own sources.
* | CMake: Enable use of zstd in libarchiveBrad King2019-03-131-2/+4
|/ | | | | | | 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
* clang-tidy: Use `= delete`Regina Pfeifer2019-01-291-1/+0
|
* cmMakefile: Impose maximum recursion limitKyle Edwards2019-01-231-0/+1
| | | | | | | | | In order to keep infinitely-recursive scripts from causing a stack overflow in the CMake executable, CMake now imposes a maximum recursion limit before issuing an error message. The limit can be adjusted at runtime with CMAKE_MAXIMUM_RECURSION_DEPTH. Fixes: #18694
* libuv: Update CMake-internal buildsystemBrad King2019-01-171-3/+5
|
* Add support for using C++17 string_view or a fallbackBrad King2018-12-111-0/+1
| | | | | | | | | | Define a `cm::string_view` type implemented via C++17 `std::string_view` when available. Provide a fallback implementation for C++11 and C++14 compilers. The fallback implementation was written by reading documentation of the standard spec. We have no dedicated tests for it, but it will be covered by tests of its clients later.
* add_subdirectory: Run subdirectory install rules in correct orderKyle Edwards2018-10-101-0/+1
| | | | | | | | | Before this change, install rules created by add_subdirectory() would be executed after all of the top-level install rules, even if they were declared before the top-level rules. This change adds a new policy, CMP0082, which interleaves the add_subdirectory() install rules with the other install rules so they are run in the correct order.
* bootstrap: Add missing libraries for kFreeBSDGregor Jasny2018-09-161-0/+3
| | | | Closes #18375
* cmLinkItem: Convert to a "sum type" over a string and target pointerBrad King2018-09-071-0/+1
| | | | | | | | | Avoid exposing the item name implicitly as std::string. When the item is a target, avoid storing a second copy of its name. Most link item construction is paired with calls to `FindTargetToLink` to get the possible target pointer. Rename these methods to `ResolveLinkItem` and refactor them to construct the entire item.
* Utilities/Sphinx: Add option to build and install Info manualOrivej Desh2018-06-121-0/+8
| | | | | Add option `SPHINX_INFO` to enable the Sphinx 'texinfo' builder and use the `makeinfo` tool to convert it to a `.info` file.
* bootstrap: Use ccache in script-generated makefileShane Parris2018-05-251-4/+6
|
* Merge topic 'bootstrap_system_libuv_option'Brad King2018-04-171-2/+4
|\ | | | | | | | | | | | | bbf64794ac bootstrap: Add option to enable/disable usage of system libuv Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1971
| * bootstrap: Add option to enable/disable usage of system libuvKirill Erofeev2018-04-171-2/+4
| |
* | string() Refactoring: creates an helper for REGEX REPLACEMarc Chevrier2018-04-161-0/+1
| |
* | Add cmGlobVerificationManager class, integrate with cmake and cmStateShane Parris2018-03-291-0/+1
| |
* | bootstrap: Add support for VAR=value options to specify tools and flagsJames Lee2018-03-221-0/+8
| |
* | bootstrap: Clarify error when building with invalid CXXFLAGSBen Chaney2018-03-141-1/+3
|/ | | | Mention the flags used when complaining that the compiler does not work.
* Merge topic 'bootstrap-try-clang'Brad King2018-02-051-2/+2
|\ | | | | | | | | | | | | 04167e39 bootstrap: Add Clang to known compiler candidates Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1749
| * bootstrap: Add Clang to known compiler candidatesAxel Huebl2018-02-051-2/+2
| | | | | | | | | | | | Add `clang` and `clang++` after the corresponding `gcc` and `g++` candidates. Otherwise it is not tried on platforms where we do not enumerate the toolchain pair candidates.
* | Merge topic 'libuv-raii'Brad King2017-12-011-0/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3bcaa870 cmUVHandlePtr: Add uv_process_ptr dd700e9b cmUVHandlePtr: Add uv_timer_ptr 32cfa7b3 cmUVHandlePtr: Move to CMakeLib to make it available everywhere Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1541
| * | cmUVHandlePtr: Move to CMakeLib to make it available everywhereBrad King2017-11-301-0/+1
| | |
* | | Merge topic 'bootstrap-clang-5'Brad King2017-12-011-0/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | 375eca78 bootstrap: Check support for unordered_map from compiler mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1542
| * | bootstrap: Check support for unordered_map from compiler modeAdam CiarciƄski2017-11-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some versions of clang 5 (with libc++) have a problem with `unordered_map` under `-std=gnu++1z`: /usr/include/c++/__hash_table:1134:43: error: conflicting types for '__hash_table<_Tp, _Hash, _Equal, _Alloc>' Include `unordered_map` in our test source so that we reject this combination and fall back to an older C++ standard flag. Fixes: #17526
* | | AIX: Add -pthread flag to enable std::thread with GCCBrad King2017-11-281-1/+12
| | |
* | | bootstrap: Add infrastructure to detect threading flagsBrad King2017-11-281-18/+24
| | | | | | | | | | | | | | | In our loop to detect -std flags, add another layer to detect threading flags.
* | | Move file/dir permissions code to common file.Domen Vrankar2017-11-081-0/+1
|/ /
* | Use C++11 '= delete' instead of CM_EQ_DELETEBrad King2017-09-281-1/+0
| | | | | | | | | | We now require C++11 support including `= delete`. Drop use of the old compatibility macro.
* | Merge topic 'libuv-bootstrap'Brad King2017-09-181-1/+113
|\ \ | | | | | | | | | | | | | | | | | | | | | 714ce728 bootstrap: Make libuv available during bootstrap 6a2d967d bootstrap: Require compiler mode aware of C99 on Solaris Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1131
| * | bootstrap: Make libuv available during bootstrapBrad King2017-09-171-1/+109
| | | | | | | | | | | | | | | | | | | | | On UNIX, build only the parts of libuv we need for the filesystem, process, and poll abstractions using the POSIX poll() backend. This avoids many platform-specific conditions. On Windows, build all of libuv; there are no conditional alternatives anyway.
| * | bootstrap: Require compiler mode aware of C99 on SolarisBrad King2017-09-171-0/+4
| | | | | | | | | | | | | | | On Solaris some system headers included in C with `-D_XOPEN_SOURCE=600` require C99 support by the compiler.