summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmMakefile: Inline GetExecutionContext at call sitesBrad King2020-09-285-10/+5
| | | | | The method only had one line, and its implementation is more clear at the call sites than the method name.
* cmMakefile: Simplify GetExecutionContext implementationBrad King2020-09-281-6/+1
| | | | | | | | This method takes the function name and line from the top of the current backtrace and then gets the file path from the state's `GetExecutionListFile`. This exactly matches what the `cmMakefileCall` constructor does to create the top of the current backtrace anyway, so we can just take that directly.
* cmListFileCache: Add explicit constructorsBrad King2020-09-281-0/+8
| | | | | In order to construct with an initializer list in pure C++11, add the explicit constructors.
* Merge topic 'cmake-gui-slot-connections'Kyle Edwards2020-09-287-149/+180
|\ | | | | | | | | | | | | | | ab8f6fdd8c CMake GUI: Modernize signal-slot connections Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5278
| * CMake GUI: Modernize signal-slot connectionsKyle Edwards2020-09-277-149/+180
| | | | | | | | | | | | | | Qt5 supports passing function pointers to QObject::connect(), and prefers this over SIGNAL() and SLOT(). Modernize the connections, stop using a deprecated signal from QComboBox, and modernize a few QKeySequence's.
* | Merge topic 'libuv-qnx'Brad King2020-09-282-2/+4
|\ \ | | | | | | | | | | | | | | | | | | f9e950d4c5 libuv: Add support for building for QNX within CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5200
| * | libuv: Add support for building for QNX within CMakeElad Lahav2020-09-252-2/+4
| | |
* | | CMake Nightly Date StampKitware Robot2020-09-281-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2020-09-271-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2020-09-261-1/+1
| |/ |/|
* | Merge topic 'find_package_module_mode_print_debug_message'Brad King2020-09-251-0/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | b423a20ce1 FindPackage: Provide better debug message when <PKG_FOUND> is false a7acafc977 FindPackage: find_package(MODULE) respects CMAKE_FIND_DEBUG_MODE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5256
| * | FindPackage: Provide better debug message when <PKG_FOUND> is falseRobert Maynard2020-09-221-0/+11
| | |
| * | FindPackage: find_package(MODULE) respects CMAKE_FIND_DEBUG_MODERobert Maynard2020-09-221-0/+5
| | | | | | | | | | | | Fixes #21216
* | | Merge topic 'cuda_clang_separable'Brad King2020-09-2514-98/+453
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c63fe01835 CUDA: Clang separable compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5221
| * | | CUDA: Clang separable compilationRaul Tambre2020-09-2414-98/+453
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For NVCC the compiler takes care of device linking when passed the "-dlink" flag. Clang doesn't support such magic and requires the buildsystem to do the work that NVCC does behind the scenes. The implementation is based on Bazel's device linking documentation: https://github.com/tensorflow/tensorflow/blob/7cabcdf073abad8c46e9dda62bb8fa4682d2061e/third_party/nccl/build_defs.bzl.tpl#L259 Closes: #20726
* | | Merge topic 'xcode-12-new-build-system'Brad King2020-09-252-16/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a67c3ebe1 Xcode: Remove dependency Makefile hacks under the "new build system" c6c7f6fbeb Xcode: Remove remnants of ancient XCODE_DEPEND_HELPER utility target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5267
| * | | Xcode: Remove dependency Makefile hacks under the "new build system"Brad King2020-09-241-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The original Xcode build system did not properly re-link targets that consumed object libraies. We worked around that with a post-build command on the object libraries themselves that removed their consumers if out of date. The "new build system" does not appear to need such help, so drop the workaround.
| * | | Xcode: Remove remnants of ancient XCODE_DEPEND_HELPER utility targetBrad King2020-09-242-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | The target has not been generated since commit d92d51429e (BUG: fix for bug 6193, fix xcode depend helper, 2008-01-10, v2.6.0~553). Remove it from the list of special targets.
* | | | CMake Nightly Date StampKitware Robot2020-09-251-1/+1
| |/ / |/| |
* | | Merge topic 'cmake-gui-tests'Brad King2020-09-244-8/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1dcc569828 gitlab-ci: Add GUI testing to each OS 4c6e5cd0fa Tests: Add some basic tests for CMake GUI 41e223deb3 CMake GUI: Split up into libraries, add test shim b7995b62f0 QCMakeCacheView: Default to nullptr for parent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5224
| * | | CMake GUI: Split up into libraries, add test shimKyle Edwards2020-09-233-7/+31
| | | |
| * | | QCMakeCacheView: Default to nullptr for parentKyle Edwards2020-09-231-1/+1
| | | |
* | | | Merge topic 'obj-lib-per-config-source'Brad King2020-09-243-9/+26
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | 2f76e7429b OBJECT libraries: Properly recognize if sources depend on configuration d575ecc9de cmGeneratorTarget: Better name for internal variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5252
| * | | OBJECT libraries: Properly recognize if sources depend on configurationDeniz Bahadir2020-09-233-9/+26
| | | | | | | | | | | | | | | | Fixes: #21198
| * | | cmGeneratorTarget: Better name for internal variableDeniz Bahadir2020-09-222-5/+5
| | |/ | |/|
* | | Merge topic 'find_package-version-range'Craig Scott2020-09-242-139/+215
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b3356263c CMakePackageConfigHelpers: Add version range support 6bfc442fde FPHSA: add support of version range d7df81067b find_package: Add support of version range 09095dbcd2 cmFindPackageCommand: Refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev> Merge-request: !5226
| * | | find_package: Add support of version rangeMarc Chevier2020-09-232-45/+129
| | | | | | | | | | | | | | | | This enhancement is the first step for solving issue #21107
| * | | cmFindPackageCommand: RefactoringMarc Chevrier2020-09-232-99/+91
| | | | | | | | | | | | | | | | | | | | | | | | * Use member initialisation at declaration * AddFindDefinition: same signature as cmMakefile::AddDefinition for consistency * Factorise version variables creation
* | | | CMake Nightly Date StampKitware Robot2020-09-241-1/+1
| |_|/ |/| |
* | | Merge topic 'separate_arguments-program'Brad King2020-09-231-67/+123
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d832c1cc7d separate_arguments: add option PROGRAM f4c21d4953 separate_arguments: refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5253
| * | | separate_arguments: add option PROGRAMMarc Chevrier2020-09-221-1/+50
| | | | | | | | | | | | | | | | Fixes: #21217
| * | | separate_arguments: refactoringMarc Chevrier2020-09-221-70/+77
| | |/ | |/|
* | | Merge topic 'install-EXPORT-source-CONFIG'Brad King2020-09-231-3/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bf114602da install(EXPORT): Fix exporting target w/ source named using CONFIG genex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5240
| * | | install(EXPORT): Fix exporting target w/ source named using CONFIG genexDeniz Bahadir2020-09-221-3/+1
| | | | | | | | | | | | | | | | Fixes: #21203
* | | | Merge topic 'binary-dir-props'Brad King2020-09-232-6/+6
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | f2daa025e3 {get,set}_property: Add support for referencing binary directories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5254
| * | | {get,set}_property: Add support for referencing binary directoriesBrad King2020-09-232-6/+6
| | |/ | |/| | | | | | | | | | | | | | | | Index directories by their binary directory path in addition to their source directory path. Fixes: #19262
* | | CMake Nightly Date StampKitware Robot2020-09-231-1/+1
|/ /
* | Merge topic 'file-ARCHIVE-compression-level'Brad King2020-09-225-16/+83
|\ \ | | | | | | | | | | | | | | | | | | | | | 195d14e781 file(ARCHIVE_CREATE): Add option to control compression level Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !5242
| * | file(ARCHIVE_CREATE): Add option to control compression levelAsit Dhal2020-09-215-16/+83
| |/ | | | | | | Fixes: #21125
* | CMake Nightly Date StampKitware Robot2020-09-221-1/+1
| |
* | Merge topic 'xcode-12-new-build-system'Brad King2020-09-212-44/+442
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8ecd4df5f ExternalProject: Use CMP0114 NEW behavior with Xcode "new build system" fe258f6382 Tests: Skip RunCMake.XcodeProject device cases for Xcode "new build system" 1c3d2d0951 Tests: Skip Qt*Autogen.MocSkipSource case for Xcode "new build system" 542884e527 Tests: Update RunCMake.XcodeProject cases for Xcode "new build system" 832a78be2d Tests: Update BuildDepends test for Xcode "new build system" ff76c51ec3 Tests: Update RunCMake.file case with workaround for Xcode "new build system" 1806cdd17c Tests: Avoid duplicate custom commands for Xcode "new build system" 8d5f4c4db9 Xcode: Switch to the "new build system" for Xcode 12 and above ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5229
| * | Xcode: Switch to the "new build system" for Xcode 12 and aboveBrad King2020-09-182-27/+318
| | | | | | | | | | | | | | | | | | | | | Provide an option to switch back to the original build system via `-T buildsystem=1`. Fixes: #18088
| * | Xcode: Add option to specify build system variantBrad King2020-09-182-12/+114
| | | | | | | | | | | | | | | | | | Extend the `-T <toolset>` option to support a `buildsystem=` field with the Xcode generator. Add a `CMAKE_XCODE_BUILD_SYSTEM` variable to inform project code about the selected build system variant.
| * | Xcode: Factor out build phase variable declarationsBrad King2020-09-181-7/+12
| | |
| * | Xcode: Clarify name of legacy run script build phase helperBrad King2020-09-182-8/+8
| | |
* | | Merge topic 'foreach-int-parse-range-check'Brad King2020-09-211-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0412b55b83 foreach: Fix crash parsing integer out of range Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5239
| * | | foreach: Fix crash parsing integer out of rangeBen McMorran2020-09-181-0/+6
| | | |
* | | | CMake Nightly Date StampKitware Robot2020-09-211-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2020-09-201-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2020-09-191-1/+1
| | | |