summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'swift-implicit-module-include-dir'Brad King2020-03-131-0/+84
|\ | | | | | | | | | | | | 2026915f8f Swift: Propagate Swift_MODULE_DIRECTORY as include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4320
| * Swift: Propagate Swift_MODULE_DIRECTORY as include directorySaleem Abdulrasool2020-03-121-0/+84
| | | | | | | | | | | | | | | | | | Teach include directory computation for Swift to implicitly propagate the `Swift_MODULE_DIRECTORY` of all linked targets as include directories. This is required to ensure that the swiftmodule of a linked target is accessible to the compiler of the current target. Fixes: #19272
* | Merge topic 'profiling'Brad King2020-03-137-2/+232
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9aa4640792 cmake: add command line options to output script profiling data Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !2760
| * | cmake: add command line options to output script profiling dataWouter Klouwen2020-03-077-2/+232
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Nightly Date StampKitware Robot2020-03-131-1/+1
| |/ |/|
* | Merge topic 'swift-link-line-spaces'Brad King2020-03-121-3/+5
|\ \ | | | | | | | | | | | | | | | | | | af39d1b993 Swift: Fix quoting of library search paths with spaces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4469
| * | Swift: Fix quoting of library search paths with spacesSaleem Abdulrasool2020-03-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | The library search paths added by commit 2746c61e6d (Swift: Add library search paths for dependencies, 2019-06-09, v3.16.0-rc1~561^2) need to be quoted properly on command lines to handle spaces and such. This was already done by `cmLinkLineComputer::ComputeLinkPath` for non-Swift-specific link directories.
| * | CMake 3.16.5v3.16.5Brad King2020-03-041-1/+1
| | |
| * | Merge branch 'backport-cuda-non-device-link' into release-3.16Brad King2020-02-241-2/+2
| |\ \ | | | | | | | | | | | | Merge-request: !4376
| * \ \ Merge branch 'backport-3.16-install-default-fix' into release-3.16Brad King2020-02-121-6/+38
| |\ \ \
* | \ \ \ Merge topic 'add-cache-definition'Brad King2020-03-1217-39/+44
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36a5b3d1d1 cmMakefile::AddCacheDefinition: Add overload that accepts std::string value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4457
| * | | | | cmMakefile::AddCacheDefinition: Add overload that accepts std::string valueVitaly Stakhovsky2020-03-1117-39/+44
| | | | | |
* | | | | | Merge topic 'modernize-memory-management'Brad King2020-03-126-60/+100
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f964739ead cmCTestRunTest: modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4454
| * | | | | | cmCTestRunTest: modernize memory managementMarc Chevrier2020-03-116-60/+100
| | | | | | |
* | | | | | | Merge topic 'ctest-curl-debugfunction'Brad King2020-03-122-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7a1cce210b CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4459
| * | | | | | | CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docsBetsy McPhail2020-03-112-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The curl debug callback function must return ``0``. Fixes: #20449
| * | | | | | | Merge topic 'swift-ninja-multiconfig' into release-3.17Kyle Edwards2020-03-102-4/+5
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65b3848de0 Swift: support Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4440
| * \ \ \ \ \ \ \ Merge topic 'cuda_warning' into release-3.17Brad King2020-03-101-0/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ebc6cec41 cm_cxx_features: Filter out CUDA installation warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4437
| * \ \ \ \ \ \ \ \ Merge topic 'invalid_alias' into release-3.17Brad King2020-03-101-2/+2
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a54d96b722 cmAlgorithms: Fix -Wnon-c-typedef-for-linkage warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4438
* | \ \ \ \ \ \ \ \ \ Merge topic 'rename-macho-version-properties'Craig Scott2020-03-122-5/+5
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14732d3f30 macOS: Rename OSX_*_VERSION properties to MACHO_*_VERSION Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4452
| * | | | | | | | | | | macOS: Rename OSX_*_VERSION properties to MACHO_*_VERSIONBrad King2020-03-122-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The properties added by commit 4a62e3d97c (macOS: Add OSX_COMPATIBILITY_VERSION and OSX_CURRENT_VERSION properties, 2020-01-24, v3.17.0-rc1~80^2~1) are general-purpose for all platforms using Mach-O formats and not just on OS X. Rename them accordingly. The properties are new to the CMake 3.17 release so we can rename them without compatibility concerns. Fixes: #20442
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2020-03-121-1/+1
| |_|_|_|_|_|/ / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge topic 'loops-improve'Brad King2020-03-115-24/+19
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cbbca9ee2a Convert more loops to range-based for-loops 9296cd0551 GHS: Name range-based for-loop variable types explicitly db17de2438 GHS: Use cm::erase in place of loop Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4446
| * | | | | | | | | | | Convert more loops to range-based for-loopsVitaly Stakhovsky2020-03-102-6/+5
| | | | | | | | | | | |
| * | | | | | | | | | | GHS: Name range-based for-loop variable types explicitlyVitaly Stakhovsky2020-03-101-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In general we avoid using `auto` except in cases of hard-to-name types like iterators.
| * | | | | | | | | | | GHS: Use cm::erase in place of loopVitaly Stakhovsky2020-03-102-11/+7
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'std-string-cleanup'Brad King2020-03-116-26/+23
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6cd48ac41 Source: use std::string overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4453
| * | | | | | | | | | | Source: use std::string overloadsVitaly Stakhovsky2020-03-106-26/+23
| | | | | | | | | | | |
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2020-03-111-1/+1
|/ / / / / / / / / / /
* | | | | | | | | | | Merge topic 'swift-ninja-multiconfig'Kyle Edwards2020-03-102-5/+6
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87819db28d Merge branch 'backport-swift-ninja-multiconfig' into swift-ninja-multiconfig 65b3848de0 Swift: support Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4440
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'backport-swift-ninja-multiconfig' into swift-ninja-multiconfigKyle Edwards2020-03-092-5/+6
| |\ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / / / / | | |/| | | | | | | | |
| | * | | | | | | | | | Swift: support Ninja Multi-ConfigSaleem Abdulrasool2020-03-092-4/+5
| | | |_|/ / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable support for multi-configuration builds using Ninja when building Swift.
| | * | | | | | | | | Merge topic 'ninja-multi-custom-command-deps' into release-3.17Brad King2020-03-051-1/+2
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 081c4679f7 Ninja Multi-Config: Don't build target dependencies for custom commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4423
* | | \ \ \ \ \ \ \ \ \ Merge topic 'file-CONFIGURE'Brad King2020-03-101-0/+118
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6fee09484 file: Add CONFIGURE subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4436
| * | | | | | | | | | | | file: Add CONFIGURE subcommandLeander Beernaert2020-03-091-0/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the `file()` command with a new `CONFIGURE` subcommand that behaves the same as `string(CONFIGURE)` except that it writes the resulting output immediately to a file. Fixes: #20388
* | | | | | | | | | | | | Merge topic 'modernize-memory-management'Brad King2020-03-1012-137/+99
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 44867a8c01 Modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4444
| * | | | | | | | | | | | | Modernize memory managementMarc Chevrier2020-03-0812-137/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update internals of various classes.
* | | | | | | | | | | | | | Merge topic 'std-string-genex'Brad King2020-03-106-30/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0dc52704b cmGeneratorExpression: remove const char* overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4445
| * | | | | | | | | | | | | | cmGeneratorExpression: remove const char* overloadsVitaly Stakhovsky2020-03-086-30/+7
| |/ / / / / / / / / / / / /
* | | | | | | | | | | | | | Merge topic 'cuda_warning'Brad King2020-03-101-0/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ebc6cec41 cm_cxx_features: Filter out CUDA installation warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4437
| * | | | | | | | | | | | | cm_cxx_features: Filter out CUDA installation warningsRaul Tambre2020-03-091-0/+2
| | |_|_|_|_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang always outputs these if it doesn't recognize the installed CUDA version. They don't affect compiling C++. Fixes #20434.
* | | | | | | | | | | | | Merge topic 'invalid_alias'Brad King2020-03-101-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a54d96b722 cmAlgorithms: Fix -Wnon-c-typedef-for-linkage warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4438
| * | | | | | | | | | | | cmAlgorithms: Fix -Wnon-c-typedef-for-linkage warningsRaul Tambre2020-03-091-2/+2
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit bf1e73305a (cmAlgorithms: Refactor cmRemoveDuplicates, 2019-03-03, v3.15.0-rc1~414^2) we added `union X = struct {}`. C++ had a rule change whereby only C-compatible unnamed typedefs are allowed. Clang 11 warns about this by default. See https://reviews.llvm.org/D74103. The aliases don't seem to be necessary, so simply define as structs.
* | | | | | | | | | | | CMake Nightly Date StampKitware Robot2020-03-101-1/+1
| |_|_|_|_|_|/ / / / / |/| | | | | | | | | |
* | | | | | | | | | | Merge topic 'required_find_commands'Brad King2020-03-095-8/+34
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc00809596 find_*: Add support for REQUIRED keyword cc070e66cd cmFindBase: Use in-class member initialization Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4435
| * | | | | | | | | | find_*: Add support for REQUIRED keywordSylvain Joubert2020-03-065-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the same spirit as the REQUIRED keyword on find_package, this will stop cmake execution with an error on a failed find_program, find_file, find_path or find_library.
| * | | | | | | | | | cmFindBase: Use in-class member initializationSylvain Joubert2020-03-062-8/+4
| | | | | | | | | | |
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2020-03-091-1/+1
| |_|/ / / / / / / / |/| | | | | | | | |
* | | | | | | | | | CMake Nightly Date StampKitware Robot2020-03-081-1/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2020-03-071-1/+1
|/ / / / / / / /