summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Presets: Add cmCMakePresetsFile classKyle Edwards2020-10-051-0/+2
|
* ctest: split launcher XML writer into separate classZack Galbreath2020-09-281-0/+1
| | | | | This refactor will allow us to more easily add additional warnings and errors to builds that use launchers.
* JSON: Add helpersKyle Edwards2020-09-091-0/+1
|
* cmake_path command: path managementMarc Chevrier2020-09-061-0/+2
| | | | Fixes: #19568, #20922
* cmCMakePath: Class for path handlingMarc Chevrier2020-09-061-0/+2
|
* cmStandardLevelResolver: Added to handle standard level queriesRobert Maynard2020-07-011-0/+2
| | | | Refactored out of cmMakefile
* Source: Assume elf.h does not exist on WindowsBrad King2020-06-031-1/+3
|
* cmake_language: Rename command from cmake_commandBrad King2020-05-211-2/+2
| | | | | | Also rename the `INVOKE` signature to `CALL`. Fixes: #20732
* cmPropertyDefinitionMap: simplify and shortenTushar Maheshwari2020-05-151-2/+0
|
* Refactoring: rename "cm_static_string_view.hxx" as <cmext/string_view>Marc Chevrier2020-04-301-1/+0
|
* CMake compilation: do not use compiler extensionsMarc Chevrier2020-03-231-0/+5
| | | | | | | For now, compiler extensions are no longer activated on CMake sources. However these extensions are still used for various third parties. This MR is a partial answer to the issue #20454.
* cmake: add command line options to output script profiling dataWouter Klouwen2020-03-071-0/+1
| | | | | | | | | | | | | | | For users of CMake who want to optimize their scripts if they take a while to run, this commit adds the ability to output profiling data. To enable this output, it adds the two command line parameters to select the output path and format. This commit adds the first profiling format of type ``google-trace``, which is the output is a JSON file containing Duration events as per the Google Trace Format specification: https://docs.google.com/document/d/1CvAClvFfyA5R- PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview#
* cmake_command: Add command to INVOKE other commands by nameCristian Adam2020-02-251-0/+2
| | | | Fixes: #18392
* Add a parser for GCC-style depfilesJoerg Bornemann2020-01-281-0/+7
| | | | | | | | | | | Introduce the function cmReadGccDepfile that parses a GCC-style depfile and returns its content. The implementation uses a lexer that is modeled after the re2c implementation in Ninja. The sample files of the autotest have been created with gcc 8.3.0. This depfile reader is to be used by the Autogen facility to make use of the depfiles that are generated by Qt's meta object compiler.
* Add support for WINDOWS_EXPORT_ALL_SYMBOLS when cross-compiling to WindowsIsuru Fernando2019-12-061-1/+2
| | | | Implement `__create_def` using `llvm-nm` (when given as `CMAKE_NM`).
* Merge topic 'ctest-resource-groups'Kyle Edwards2019-11-071-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 016601e5e6 Merge branch 'backport-ctest-resource-groups' c1435d9812 Help: Fix error in resource allocation example eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests c544cb6698 CTest: Rename hardware -> resources for source code 6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options 73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups" af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3994
| * Merge branch 'backport-ctest-resource-groups'Brad King2019-11-051-6/+6
| |\
| | * CTest: Rename hardware -> resources for source codeCraig Scott2019-11-051-2/+2
| | |
| | * CTest: Rename "Processes" lexer to "ResourceGroups"Brad King2019-11-051-4/+4
| | | | | | | | | | | | | | | The corresponding test property `PROCESSES` has been renamed to `RESOURCE_GROUPS`.
* | | Merge topic 'llvm-rc-fix'Brad King2019-11-071-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | f0c00bec1d CMakeVersion.rc: Fix build with llvm-rc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4003
| * | CMakeVersion.rc: Fix build with llvm-rcCristian Adam2019-11-061-1/+1
| |/ | | | | | | llvm-rc expects versioning as having four items, it fails otherwise.
* | Merge topic 'graphviz'Brad King2019-10-171-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | 553658393c Graphviz: added test suite, fixes, enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: slodki <slodki_dom@poczta.onet.pl> Merge-request: !3766
| * | Graphviz: added test suite, fixes, enhancementsCorentin Plouet2019-10-081-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a fairly comprehensive test suite * Separated the graph traversal logic from the Graphviz generation code by introducing a new class, cmLinkItemsGraphVisitor{.h,cxx} * Made the graph traversal logic less ad-hoc by using existing methods in the GlobalGenerator; this fixed a few bugs * Added support for new target types: custom targets, object and unknown libraries * Improved support for ALIAS libraries by showing the alias(es) in the graph * Introduced new flags to control those new libraries (consistent with existing flags) * Updated the documentation * Removed useless setting to set graph type in dot file * Improved the node/edge shapes (nicer, more consistent) * Added a legend to the graph * Some refactoring and cleanup of the Graphviz generation code * Added test and fix for issue 19746
* | Add option to configure Ninja link job pool for CMake's own binariesBrad King2019-10-101-0/+5
|/ | | | | Create an undocumented `CMake_JOB_POOL_LINK_BIN` option that builders can set to avoid linking too many of our binaries at once.
* CTest: Add bin-packing algorithmKyle Edwards2019-10-021-0/+1
| | | | | | | This algorithm is used to determine whether or not a test can execute with the available resources. It uses a recursive largest- first algorithm to try to place the tests into their respective slots.
* CTest: Add cmCTestHardwareAllocator classKyle Edwards2019-10-021-0/+1
|
* CTest: Add parser for hardware spec fileKyle Edwards2019-10-021-0/+1
|
* CTest: Add lexer for PROCESSES propertyKyle Edwards2019-10-021-0/+5
|
* Merge topic 'smart_ptr/cmCurses'Brad King2019-09-301-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 7d6e08b438 cmCursesMainForm: change Entries to object vector 0833486d62 cmCursesStringWidget: remove manual delete bc71b253cb cmCursesCacheEntryComposite: default destructor 36875ff419 cmCursesMainForm: cleanup manual allocation 2b16071149 CursesDialog: modernize CMake usage Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3849
| * CursesDialog: modernize CMake usageTushar Maheshwari2019-09-261-1/+1
| |
* | cmMakefile: Move enumerations into new headerDaniel Eiband2019-09-261-0/+1
| | | | | | | | The enumerations will also be used in cmLocalGenerator.
* | add_custom_target: Add output checks for custom target byproductsDaniel Eiband2019-09-231-0/+2
|/ | | | | Use the output checks for byproducts of add_custom_command also for byproducts of add_custom_target.
* Merge topic 'cmake-system-headers'Brad King2019-09-201-4/+2
|\ | | | | | | | | | | | | | | 4a08690ccf cmstd: Extend header <cm/iterator> c688b401d3 cmstd: Modernize CMake system headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3776
| * cmstd: Modernize CMake system headersMarc Chevrier2019-09-201-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a standardized way to handle the C++ "standard" headers customized to be used with current CMake C++ standard constraints. Offer under directory `cm` headers which can be used as direct replacements of the standard ones. For example: #include <cm/string_view> can be used safely for CMake development in place of the `<string_view>` standard header. Fixes: #19491
* | cmExportSet: subsume cmExportSetMap source filesTushar Maheshwari2019-09-191-2/+0
|/
* cmCustomCommandLine: Provide command line make functionsDaniel Eiband2019-09-161-0/+2
| | | | | Reduce boilerplate necessary to create custom command lines by introducing and applying cmMakeCommandLine and cmMakeSingleCommandLine functions.
* cmCPackArchiveGenerator: Code cleanupRegina Pfeifer2019-09-041-6/+0
|
* Merge topic 'precompile-headers'Brad King2019-08-291-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8da78d4efe Precompile headers: Update documentation 5772930164 Precompile headers: Add unit tests 519606704e Precompile headers: Add support for Visual Studio generators 28be170fbc Precompile headers: Add support for Xcode generator b8626261e9 Precompile headers: Add methods to generate PCH sources 375d01c680 PCH: add example/test 9b6797e71d PCH: add target_precompile_headers command 0467a2f91b PCH: add PRECOMPILE_HEADERS to special properties Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Acked-by: Ivan171 <heavenandhell171@gmail.com> Acked-by: Stanislav Ershov <digital.stream.of.mind@gmail.com> Acked-by: Steve Mokris <smokris@softpixel.com> Acked-by: Evgeniy Dushistov <dushistov@mail.ru> Acked-by: Danila Malyutin <flashmozzg@gmail.com> Acked-by: Viktor Kirilov <vik.kirilov@gmail.com> Acked-by: Lucas Zhao <zhaopf6@163.com> Merge-request: !3553
| * PCH: add target_precompile_headers commandDaniel Pfeifer2019-08-271-0/+2
| |
* | cmCommand refactor: remove cmDisallowedCommand classGabor Bencze2019-08-261-2/+0
|/
* Refactor: Finish replacing CMAKE_BUILD_WITH_CMAKE with CMAKE_BOOTSTRAPKyle Edwards2019-08-091-3/+0
| | | | | | | | Remove -DCMAKE_BUILD_WITH_CMAKE from Source/CMakeLists.txt. Remove CMAKE_BOOTSTRAP from bootstrap's cmConfigure.h. Add -DCMAKE_BOOTSTRAP to all bootstrap sources, and remove the Unix specialization of CMAKE_BOOTSTRAP in libuv (a review of the libuv code suggests that this will not have an effect on the Windows build.)
* Introduce cmSubcommandTableRegina Pfeifer2019-08-061-0/+2
|
* Merge topic 'control-block3'Brad King2019-08-051-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | 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/+2
| |
* | cmStringAlgorithms: Add cmCatViews and cmStrCat functionsSebastian Holtermann2019-08-011-0/+1
|/
* Merge topic 'cmStringAlgorithms'Kyle Edwards2019-07-301-0/+2
|\ | | | | | | | | | | | | f71f7ce3f0 cmStringAlgorithms: Move string functions to the new cmStringAlgorithms.h Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3618
| * cmStringAlgorithms: Move string functions to the new cmStringAlgorithms.hSebastian Holtermann2019-07-291-0/+2
| | | | | | | | | | This adds the `cmStringAlgorithms.h` header and moves all string functions from `cmAlgorithms.h` to `cmStringAlgorithms.h`.
* | CMakeVersion.rc: Compute resource components only on WindowsBrad King2019-07-291-0/+15
|/
* cmUnexpectedCommand: Replace with lambda expressionRegina Pfeifer2019-07-211-2/+0
|
* 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