summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'add_find_call_debugging'Kyle Edwards2019-12-2016-74/+398
|\ | | | | | | | | | | | | | | | | f3c9396260 Help: Document CMAKE_FIND_DEBUG_MODE 204b8d9f4e find_*: Use debug logging infrastructure a7ea20649d find_*: Add debug logging infrastructure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3935
| * find_*: Use debug logging infrastructureRobert Maynard2019-12-196-31/+211
| | | | | | | | | | | | Teach the find_package, find_library, find_program, find_path, and find_file commands to print debug log messages when enabled by the `--debug-find` command-line option or `CMAKE_FIND_DEBUG_MODE` variable.
| * find_*: Add debug logging infrastructureRobert Maynard2019-12-1910-43/+187
| | | | | | | | | | | | | | | | | | | | | | | | Enable debug messages a new `--find-debug` command-line option or via the `CMAKE_FIND_DEBUG_MODE` variable. This work was started by Chris Wilson, continued by Ray Donnelly, and then refactored by Robert Maynard to collect information into a single message per find query. Co-Author: Ray Donnelly <mingw.android@gmail.com> Co-Author: Chris Wilson <chris+github@qwirx.com>
* | Merge topic 'add_custom_command-depends-path'Kyle Edwards2019-12-202-2/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | f5126badd8 add_custom_command: convert DEPENDS path arguments to absolute paths a5f44ec925 cmAddCustomCommandCommand: remove unnecessary braces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4148
| * | add_custom_command: convert DEPENDS path arguments to absolute pathsBen Boeckel2019-12-181-0/+4
| | | | | | | | | | | | | | | | | | | | | This is only done if they are "obviously" paths in that they contain a directory separator. Fixes: #17111
| * | cmAddCustomCommandCommand: remove unnecessary bracesBen Boeckel2019-12-181-2/+2
| | |
* | | Merge topic 'modernize-memory-management'Kyle Edwards2019-12-206-49/+39
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dc2daa6860 cmFileMonitor: modernize memory management 23130c539f cmInstalledFile: modernize memory management 3c632b89ab cmOrderDirectories: Modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4149
| * | | cmFileMonitor: modernize memory managementMarc Chevrier2019-12-192-21/+17
| | | |
| * | | cmInstalledFile: modernize memory managementMarc Chevrier2019-12-192-14/+7
| | | |
| * | | cmOrderDirectories: Modernize memory managementMarc Chevrier2019-12-182-14/+15
| |/ /
* | | CMake Nightly Date StampKitware Robot2019-12-201-1/+1
| | |
* | | Merge topic 'autogen-no-hh'Brad King2019-12-191-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7fa7f55230 Autogen: Revert processing of .hh files for compatibility Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4146
| * | | Autogen: Revert processing of .hh files for compatibilityBrad King2019-12-181-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 4a9154537c (Autogen: Use cmake::IsHeader/SourceExtension for file type detection, 2019-07-02, v3.16.0-rc1~470^2~4) we process `.hh` files with `AUTOMOC`. However, this change can break existing projects that do not expect the behavior. Revert it for now. It can be restored later via a policy. Fixes: #20101
* | | | CMake Nightly Date StampKitware Robot2019-12-191-1/+1
| |/ / |/| |
* | | Merge topic 'add-header-cmext-algorithm'Brad King2019-12-1860-208/+235
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7d12609f0 Refactoring: use append functions from cmext/algorithm a38d04c076 Refactoring: introduce header cmext/algorithm with append functions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4131
| * | | Refactoring: use append functions from cmext/algorithmMarc Chevrier2019-12-1760-208/+235
| | | |
* | | | CMake Nightly Date StampKitware Robot2019-12-181-1/+1
| |_|/ |/| |
* | | Merge topic 'fix-vs-winrt-by-default'Brad King2019-12-171-5/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 557ea4614e VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRT 7bcef355bf Vs: Add test for VS_WINRT_BY_DEFAULT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4127
| * | | VS: Change CMAKE_VS_WINRT_BY_DEFAULT to not implicitly enable WinRTPetr Polezhaev2019-12-161-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original behaviour would unconditionally enable WinRT for all projects so source file flag generation code can acknowledge WinRT being present and disable it for C language source files. An unintentional result of that approach is that WinRT is enabled for ALL projects, including C++ projects/source files with no way to disable it Instead use `CMAKE_VS_WINRT_BY_DEFAULT` as a hint that the platform is WinRT-by-default and set global `CompileAsWinRT` flag to `false` unless it was explicitly requested by either `WINRT_COMPONENT` option or `/ZW` compilation option - similar to what Windows Phone/Windows Store platform logic does In case WinRT compilation is enabled for a project by either of aforementioned methods, C language source file override logic will still kick in and disable CompileAsWinRT for C source files Fixes: #20063
* | | | Merge topic 'vs-xml-improve'Brad King2019-12-171-12/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d8f1736dcc cmVisualStudio10TargetGenerator: improve XML element generation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4140
| * | | | cmVisualStudio10TargetGenerator: improve XML element generationVitaly Stakhovsky2019-12-151-12/+6
| | | | | | | | | | | | | | | | | | | | When an element is emitted, the newline will be printed first, not last
* | | | | Merge topic 'stdstring-target'Brad King2019-12-1719-52/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c34b4497f8 cmTarget: add std::string overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4137
| * | | | | cmTarget: add std::string overloadsVitaly Stakhovsky2019-12-1419-52/+51
| |/ / / /
* | | | | Merge topic 'fat-ios'Brad King2019-12-172-16/+37
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a9b41195d2 Handle multi-arch sysroots on Apple platforms 372c89ea38 Refactor -arch and -isysroot code usage 7a44e16d7f Refactor SDK name to path into a function 777d364913 Use xcrun instead of xcodebuild for resolving SDK path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4125
| * | | | Handle multi-arch sysroots on Apple platformsTor Arne Vestbø2019-12-132-7/+27
| | | | |
| * | | | Refactor -arch and -isysroot code usageCristian Adam2019-12-111-13/+14
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2019-12-171-1/+1
| | | | |
* | | | | Merge topic 'ninja-multi'Brad King2019-12-1642-850/+1774
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c062f9d99 Help: Add documentation and release notes for multi-config Ninja e0478cc646 Tests: Add test for Multi-Configuration Ninja generator 5a8a9f7229 Ninja: Add multi-config variant 3bc63e99e4 Refactor: Prepare Ninja generator for multi-config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4086
| * | | | | Ninja: Add multi-config variantKyle Edwards2019-12-1330-365/+1175
| | | | | | | | | | | | | | | | | | | | | | | | Co-Authored-by: vector-of-bool <vectorofbool@gmail.com>
| * | | | | Refactor: Prepare Ninja generator for multi-configKyle Edwards2019-12-1323-527/+641
| | | | | |
* | | | | | Merge topic 'pch-force-include'Brad King2019-12-161-0/+3
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5c218fa0d PCH: Append pch header file to list of forced include files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4135
| * | | | | PCH: Append pch header file to list of forced include filesCristian Adam2019-12-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20088
* | | | | | CMake Nightly Date StampKitware Robot2019-12-161-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-12-151-1/+1
| |_|_|/ / |/| | | |
* | | | | CMake Nightly Date StampKitware Robot2019-12-141-1/+1
| |/ / / |/| | |
* | | | Merge topic 'backport-3.16-vs-v142-version'Brad King2019-12-131-9/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2f853eec3d Merge branch 'backport-3.15-vs-v142-version' into backport-3.16-vs-v142-version d8d4924d98 VS: Fix support for v142 toolset minor versions in VS 16.5+ 07612646fe VS: Fix support for v142 toolset minor versions in VS 16.5+ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4133
| * | | | VS: Fix support for v142 toolset minor versions in VS 16.5+Brad King2019-12-121-9/+14
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The fix in commit 5117389931 (VS: Fix support for v142 toolset minor versions, 2019-10-01, v3.16.0-rc1~32^2) worked around a bug in VS's placement of toolset files. VS 16.5 will fix that bug and restore the original pattern for locations of toolset files. Update our logic to look for both possibilities. Issue: #19779
| * | | CMake 3.16.1v3.16.1Brad King2019-12-101-1/+1
| | | |
| * | | Merge topic 'toc_on_ppc' into release-3.16Brad King2019-12-102-2/+31
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 90d8bd2deb Merge branch 'backport-3.15-toc_on_ppc' into backport-3.16-toc_on_ppc b35926e260 Check for support before adding bigtoc linker flag 958f858ad8 Check for support before adding bigtoc linker flag 8c7b7df788 bootstrap: Add target_link_options command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4122
| * \ \ \ Merge topic 'unity-object-libraries' into release-3.16Brad King2019-12-093-8/+16
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fa93b4a59b Unity: Proper handling of object libraries 5ae07e7166 Unity: Generic source file handling for all generators f742f7ac1f Unity/PCH: Skip more target types when adding automatic sources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4110
| * \ \ \ \ Merge topic 'pch-reuse-importlib' into release-3.16Brad King2019-12-091-1/+17
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 93becd61d1 PCH: Use the target's PREFIX for building the pdb file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4114
* | | | | | | CMake Nightly Date StampKitware Robot2019-12-131-1/+1
| | | | | | |
* | | | | | | Merge topic 'function-var-current'Kyle Edwards2019-12-121-27/+51
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24fdd51f45 Refactor: Replace CMAKE_CURRENT_LIST_DIR with CMAKE_CURRENT_FUNCTION_LIST_DIR 90e3e2a777 cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variables dd54290dab Refactor: Modernize `function` command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4000
| * | | | | | | cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variablesAlex Turbov2019-12-101-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CMAKE_CURRENT_FUNCTION` Can be used for diagnostic or debugging messages like the `__PRETTY_FUNCTION__` macro of GCC. `CMAKE_CURRENT_FUNCTION_LIST_DIR` Eliminates the necessity of the additional "global" variables inside a module used to access additional "resource" files from functions defined in the module. ...
| * | | | | | | Refactor: Modernize `function` commandAlex Turbov2019-12-071-27/+30
| | | | | | | |
* | | | | | | | Merge topic 'link-options-propagation'Brad King2019-12-121-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af9d4f24ae Link properties: must be transitive over private dependency on static library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4130
| * | | | | | | | Link properties: must be transitive over private dependency on static libraryMarc Chevrier2019-12-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure transitivity over multiple static libraries. Fixes: bbba701899 (Link properties: must be transitive over private dependency on static library, 2019-12-06)
* | | | | | | | | Merge topic 'add_cuda_meta_compiler_features'Brad King2019-12-125-37/+227
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2467a2b318 CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3992
| * | | | | | | | | CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-105-37/+227
| | | | | | | | | |
* | | | | | | | | | Merge topic 'ctest-drmemory-support'Brad King2019-12-122-6/+180
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 676befdf52 ctest: add support for memcheck using Dr. Memory 2db0a65f56 cmCTestMemCheckHandler.cxx: minor refactoring Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4119