summaryrefslogtreecommitdiffstats
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'update-libuv'Brad King2022-09-271-0/+3
|\ | | | | | | | | | | | | | | | | | | 23de1675fd libuv: Update CMake-internal buildsystem for 1.44.2 ff82df301c Merge branch 'upstream-libuv' into update-libuv a23da15596 libuv 2022-07-12 (0c1fa696) cfe8fd6421 libuv: Update script to get libuv 1.44.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7709
| * libuv: Update CMake-internal buildsystem for 1.44.2Brad King2022-09-271-0/+3
| |
* | bootstrap: Enable add_compile_definitions commandBrad King2022-09-221-0/+1
| | | | | | | | Make the command available to CMake's own CMake code.
* | Add new flow-control commands for variables and policies scopes managementMarc Chevrier2022-08-221-0/+1
| | | | | | | | | | | | | | Add block() and endblock() commands offering the capability to create new scopes for variables and/or policies. Fixes: #20171
* | install: support `CXX_MODULES_BMI` installation bitsBen Boeckel2022-07-061-0/+1
| |
* | cmCxxModuleMapper: add source to handle module mapper contentsBen Boeckel2022-06-161-0/+1
| | | | | | | | | | This will allow all generators to share an implementation for actually writing out the module map formats.
* | cmExperimental: add a mechanism for experimental CMake featuresBen Boeckel2022-06-141-0/+1
|/
* zlib: Drop old sources to make room for a fresh importBrad King2022-05-261-1/+0
|
* find_* commands: add control over Windows registry viewsMarc Chevrier2022-04-291-0/+4
| | | | Fixes: #22775
* cmRulePlaceholderExpander: add base class for placeholder expansion reuseMarc Chevrier2022-02-061-0/+1
|
* bootstrap: Avoid TOC overflow on AIX powerpcBrad King2022-01-271-0/+14
| | | | | | | Since commit 5c58a7e4d2 (ppc64: Work around TOC overflow with platform specific linker flags, 2019-02-27, v3.15.0-rc1~460^2) we use a bigtoc flag on this platform when building CMake with CMake. Add it to the bootstrap script too.
* bootstrap: Remove stray indentationBrad King2022-01-271-1/+1
|
* libuv: Build unix tcp support during CMake bootstrapBrad King2021-11-171-0/+1
| | | | | | Using the real `tcp.c` simplifies `cmake-bootstrap.c`, and its implementation doesn't seem to require any of the platform-specific definitions. Also, later it will be needed for `uv_socketpair`.
* install(TARGETS): Add FILE_SET modeKyle Edwards2021-10-271-0/+1
|
* cmTarget: Add cmFileSet and associated propertiesKyle Edwards2021-10-271-0/+1
|
* Merge topic 'bootstrap-qt6'Brad King2021-10-061-0/+1
|\ | | | | | | | | | | | | | | 6458a32242 bootstrap: Enable cmake_language command to support cmake-gui with Qt 6.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Andrew Maclean <andrew.amaclean@gmail.com> Merge-request: !6593
| * bootstrap: Enable cmake_language command to support cmake-gui with Qt 6.2Brad King2021-10-051-0/+1
| | | | | | | | Fixes: #22721
* | Rename cmProp in cmValueMarc Chevrier2021-09-211-1/+1
| |
* | cmProp: refactoring: transform alias in classMarc Chevrier2021-08-081-0/+1
| | | | | | | | | | | | To handle safely the values used by CMake variables and properties, introduce the class cmProp as a replacement from the simple pointer to std::string instance.
* | Merge topic 'import-elf'Brad King2021-06-251-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 115ff6a347 cmELF: Include the ELF parsing code unconditionally 5dfa3ddbe5 cmELF: Allow building without system ELF headers 0da1540aaa cmELF: Fix check for TagMipsRldMapRel e21188df8b cmELF: Open file explicitly in binary mode 70cdb36d25 Merge branch 'upstream-elf' into import-elf 7a0a37ca41 elf 2021-06-23 (f13da247) 18038042ed cmelf: Add script to import the FreeBSD ELF headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6240
| * cmELF: Include the ELF parsing code unconditionallyAlex Richardson2021-06-241-0/+1
| | | | | | | | | | Now that the ELF definitions are provided on all platforms there is no need to keep the CMake_USE_ELF_PARSER option.
* | bootstrap: Compile with _FILE_OFFSET_BITS=64 on LinuxBrad King2021-06-231-0/+10
|/ | | | | | | | | | | To avoid problems accessing filesystem, explicitly use 64-bit file offsets in case the compilation model is 32-bit. This change was made for the main CMake build by commit 5b10f96793 (Linux: Compile with _FILE_OFFSET_BITS=64 on 32-bit Linux, 2020-09-23, v3.19.0-rc1~112^2), but conditionally on 32-bit Linux. For bootstrap, just always add the definition instead of trying to detect the architecture. Fixes: #22328
* install(TARGETS): Add RUNTIME_DEPENDENCIES optionKyle Edwards2021-06-041-0/+2
|
* Source: Add cmInstallRuntimeDependencySetKyle Edwards2021-06-041-0/+1
|
* install(): Add IMPORTED_RUNTIME_ARTIFACTS modeKyle Edwards2021-05-311-0/+1
|
* MSYS: Add support for running under MSYS runtime environmentOrgad Shaneh2021-04-261-2/+12
| | | | Detect MSYS as CYGWIN, with the required adaptations.
* Update CMake code using KWSys to account for Status return valuesBrad King2021-04-141-0/+2
| | | | | | KWSys as of 2021-04-14 changed the return type of `SystemTools` operations from `bool` to `Status`. Update our call sites. This may improve error reporting accuracy in a few places.
* Help: Add option to generate docs with latexpdfHenryk Paluch2021-03-011-0/+8
|
* bootstrap: add cmake_ld_flags to include checkIssam E. Maghni2021-02-031-5/+5
|
* bootstrap: add cmake_ld_flags to compilers checkIssam E. Maghni2021-01-171-6/+6
|
* bootstrap: test -a|o is not POSIXIssam E. Maghni2020-12-231-5/+4
|
* add_custom_{command,target}: Add genex support to OUTPUT and BYPRODUCTSBrad King2020-12-111-1/+0
| | | | | | | | | Move rejection of `#`, `<`, and `>` characters in outputs and byproducts to a generate-time check. This removes the front-end check that disallowed generator expressions. The generators have already been updated to handle them. Fixes: #12877
* Makefiles Generators: use compiler for dependencies generationMarc Chevrier2020-11-291-0/+2
| | | | | | | | | | | Each source compilation generates a dependencies file. These dependencies files are consolidated in one file per target. This consolidation is done as part of command 'cmake -E cmake_depends` launched before evaluation of makefile dependency graph. The consolidation uses the same approach as `CMake` dependencies management. Fixes: #21321
* Merge topic 'cmake-E-cat-binary'Brad King2020-10-151-0/+1
|\ | | | | | | | | | | | | | | | | f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows 90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5364
| * cmConsoleBuf: Factor out cout/cerr console buffer managementBrad King2020-10-141-0/+1
| |
| * Merge topic 'bootstrap-intel' into release-3.18Brad King2020-07-271-1/+1
| |\ | | | | | | | | | | | | | | | | | | 796466284b bootstrap: Fix support for Intel compiler with modern GNU system compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5057
* | \ Merge topic 'bootstrap-make-smake'Brad King2020-10-141-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8e7ece1416 bootstrap: add smake as known make processors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5372
| * | | bootstrap: add smake as known make processorsIssam E. Maghni2020-10-141-1/+1
| | | | | | | | | | | | | | | | As found in “Modules/CMakeUnixFindMake.cmake”
* | | | Merge topic 'bootstrap-ninja-samu'Brad King2020-10-141-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | f0ac977d3c bootstrap: add samu as known ninja processors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5371
| * | | bootstrap: add samu as known ninja processorsIssam E. Maghni2020-10-141-1/+1
| | | | | | | | | | | | | | | | As found in “Modules/CMakeNinjaFindMake.cmake”
* | | | cmCustomCommandGenerator: Add option to transform depfileKyle Edwards2020-10-131-34/+33
| | | |
* | | | cmake -E: Add cmake_transform_depfile internal commandKyle Edwards2020-10-131-0/+4
|/ / /
* | | libuv: Add support for building for QNX within CMakeElad Lahav2020-09-251-0/+4
| | |
* | | cmake_path command: path managementMarc Chevrier2020-09-061-0/+1
| | | | | | | | | | | | Fixes: #19568, #20922
* | | cmCMakePath: Class for path handlingMarc Chevrier2020-09-061-0/+1
| | |
* | | Bootstrap: Use #pragma once in cmThirdParty.hKyle Edwards2020-09-031-3/+1
| | |
* | | Bootstrap: Add support for NinjaKyle Edwards2020-08-101-69/+291
| | |
* | | Merge topic 'bootstrap-intel'Brad King2020-07-271-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 796466284b bootstrap: Fix support for Intel compiler with modern GNU system compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5057
| * | bootstrap: Fix support for Intel compiler with modern GNU system compilerBrad King2020-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On systems with older GNU system compilers, the Intel C++ compiler does not define `__cplusplus` to any version newer than C++11. This prevented `bootstrap` from detecting that a given C++ standard flag has enabled C++17 mode in the compiler. In commit 033a4b12a5 (bootstrap: Extend C++17 check for our cast functions, 2019-12-14, v3.17.0-rc1~291^2) we added a preprocessor condition to attempt to detect C++17 mode in the Intel compiler on such systems by looking for `__cpp_if_constexpr`. However, on systems with a modern GNU system compiler, that definition is available even in C++11 mode. Switch to using `__cpp_deduction_guides` to detect C++17 mode for the Intel C++ compiler. That seems to be defined exclusively in C++17 mode regardless of the version of the system compiler. Fixes: #21013
* | | Fix typos identified using codespellJean-Christophe Fillion-Robin2020-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ```