summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmake_language-DEFER'Brad King2020-09-3012-102/+576
|\ | | | | | | | | | | | | | | | | | | | | | | | | e8b0359a43 cmake_language: Add signature to DEFER calls to later times 9880549405 cmake_language: Make all errors fatal 4f33f3dcff cmake_language(CALL): Accept empty ${var} expansions 4ebe9c4ce1 cmake_language(EVAL): Factor out internal helper 78ff24a3a7 Help: Use singular placeholder name in cmake_language signature edd60d4419 Tests: Simplify RunCMake.cmake_language invalid command cases 1a5bf8245e cmMakefile: Clarify name of internal list file run method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5262
| * cmake_language: Add signature to DEFER calls to later timesBrad King2020-09-2912-23/+485
| | | | | | | | Fixes: #19575
| * cmake_language: Make all errors fatalBrad King2020-09-291-17/+19
| |
| * cmake_language(CALL): Accept empty ${var} expansionsBrad King2020-09-291-63/+65
| | | | | | | | | | Factor out an internal helper. Generalize partial argument expansion and call the helper on a clean boundary between raw arguments.
| * cmake_language(EVAL): Factor out internal helperBrad King2020-09-291-24/+32
| |
| * cmMakefile: Clarify name of internal list file run methodBrad King2020-09-292-8/+8
| |
* | Merge topic 'find-package-check-empty-version-range'Craig Scott2020-09-301-1/+14
|\ \ | | | | | | | | | | | | | | | | | | 212b0afb66 find_package: raise error on empty version range Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5294
| * | find_package: raise error on empty version rangeMarc Chevrier2020-09-291-1/+14
| | |
* | | Merge topic 'vs-mixed-lang-std'Brad King2020-09-301-0/+17
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b325484928 VS: Fix C language standard in target with C++ sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5295
| * | | VS: Fix C language standard in target with C++ sourcesBrad King2020-09-291-0/+17
| | |/ | |/| | | | | | | | | | | | | Add C-language standard to target-wide C++ settings. Fixes: #21195
* | | Merge topic 'update-kwsys'Brad King2020-09-301-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2132f2d49b Merge branch 'upstream-KWSys' into update-kwsys eaf37ffde9 KWSys 2020-09-29 (4a19ed43) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5293
| * | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2020-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2020-09-29 (4a19ed43)
* | | | CMake Nightly Date StampKitware Robot2020-09-301-1/+1
| | | |
* | | | Merge topic 'cmake-gui-environment'Kyle Edwards2020-09-299-37/+539
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 85f5009d27 CMake GUI: Add environment editor d6c051c126 Tests: Add some basic configure tests for the CMake GUI 7cd95d9996 Tests: Add CatchShow helper for CMake GUI tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5270
| * | | CMake GUI: Add environment editorKyle Edwards2020-09-289-37/+539
| | | |
* | | | Merge topic 'simplify-execution-context'Brad King2020-09-2911-91/+45
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07c1bdda3d cmMakefile: Replace GetExecutionFilePath with the top of the Backtrace 727ed0c403 cmMakefile: Simplify ExpandArguments signature e456dae669 cmConditionEvaluator: Remove extra copy of execution context 0100a4943e cmMakefile: Remove now-unused overload of GetBacktrace dc49abcb89 if,while: Clarify condition backtrace construction 68af831505 cmMakefile: Inline GetExecutionContext at call sites 280f3918f3 cmMakefile: Simplify GetExecutionContext implementation 0e59b45dfc cmListFileCache: Add explicit constructors Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5276
| * | | cmMakefile: Replace GetExecutionFilePath with the top of the BacktraceBrad King2020-09-282-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | The execution file path stack and the backtrace stack are kept in sync. At all call sites of `GetExecutionFilePath`, the execution file path matches the path in the context at the top of the backtrace stack.
| * | | cmMakefile: Simplify ExpandArguments signatureBrad King2020-09-284-24/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only call sites that pass the explicit file name argument are in function blocker `ArgumentsMatch` methods for `function` and `macro`. We already ensure that they are balanced within a file scope, and the RAII helpers `BuildsystemFileScope` and `ListFileScope` ensure that the backtrace and execution list file stacks unwind to the matching level. Therefore we can assume that the file name where we are checking for matching arguments matches starting file name where those arguments first appeared, and do not need to pass it explicitly.
| * | | cmConditionEvaluator: Remove extra copy of execution contextBrad King2020-09-284-19/+6
| | | | | | | | | | | | | | | | | | | | | | | | The execution context passed to the constructor always matches the top of the backtrace, so the former can be removed in favor of using only the latter.
| * | | cmMakefile: Remove now-unused overload of GetBacktraceBrad King2020-09-282-10/+0
| | | |
| * | | if,while: Clarify condition backtrace constructionBrad King2020-09-282-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluation of the `elseif`, `else`, and `while` commands takes place during function blocker evaluation before any actual command execution takes place. Therefore they do not have an entry in the backtrace stack. Each of their implementations needs to construct an extra backtrace entry to use in error messages and such. Each of them used a slightly different approach due to evolution over time. Clean up their construction of the extra backtrace entry and use a named variable to contain it for clarity.
| * | | 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 'ctest_launch_report_make_errors'Brad King2020-09-298-376/+474
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a8b7dd061b ctest: improve Unicode support for launchers ab9ad2a6a0 ctest: report make-level errors to CDash when using launchers 56e4e942d2 ctest: split launcher XML writer into separate class Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Merge-request: !5266
| * | | ctest: improve Unicode support for launchersZack Galbreath2020-09-281-4/+2
| | | | | | | | | | | | | | | | Fix launcher behavior for international characters in the path on Windows.
| * | | ctest: report make-level errors to CDash when using launchersZack Galbreath2020-09-283-9/+27
| | | | | | | | | | | | | | | | Fixes: #19545
| * | | ctest: split launcher XML writer into separate classZack Galbreath2020-09-285-367/+449
| |/ / | | | | | | | | | | | | This refactor will allow us to more easily add additional warnings and errors to builds that use launchers.
* | | Merge topic 'refactor-cmprop'Brad King2020-09-292-29/+27
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | c88dde2869 cmGeneratorTarget: internal refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5289
| * | | cmGeneratorTarget: internal refactoringvvs314152020-09-282-29/+27
| |/ /
* | | Merge topic 'return-cmprop'Brad King2020-09-298-38/+35
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d298ae7470 cmake::GetCacheDefinition: Return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5288
| * | | cmake::GetCacheDefinition: Return cmPropvvs314152020-09-288-38/+35
| |/ /
* | | Merge topic 'system_include_dir_caching_pre_lang'Brad King2020-09-292-4/+5
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | b6418155f3 cmGeneratorTarget: Include Cache now occurs per language+config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5274
| * | cmGeneratorTarget: Include Cache now occurs per language+configRobert Maynard2020-09-252-4/+5
| | | | | | | | | | | | | | | Previously only occurred per config which broke per-language system includes.
* | | CMake Nightly Date StampKitware Robot2020-09-291-1/+1
| |/ |/|
* | 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.