summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Constify some code as suggested by clang-tidyCengizhan Pasaoglu2020-10-1919-59/+61
|
* Merge topic 'separate_arguments-no-args'Brad King2020-10-191-0/+5
|\ | | | | | | | | | | | | 747f80fe82 separate_arguments: Fix crash on *_COMMAND with no arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5382
| * separate_arguments: Fix crash on *_COMMAND with no argumentsRobert Bozzetto2020-10-161-0/+5
| | | | | | | | Fixes: #21320
* | Merge topic 'doc-CMP0111'Brad King2020-10-191-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | 5c3a91c808 CMP0111: Clarify that the new error is on a missing property setting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Reinking <alex_reinking@berkeley.edu> Merge-request: !5385
| * | CMP0111: Clarify that the new error is on a missing property settingBrad King2020-10-161-1/+1
| |/ | | | | | | The previous wording could be confused with the file missing on disk.
* | CMake Nightly Date StampKitware Robot2020-10-191-1/+1
| |
* | CMake Nightly Date StampKitware Robot2020-10-181-1/+1
| |
* | Merge topic 'cmake-gui-disable-presets'Craig Scott2020-10-172-4/+15
|\ \ | | | | | | | | | | | | | | | | | | | | | d471406f0b CMake GUI: Disable preset fields instead of hiding them Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !5374
| * | CMake GUI: Disable preset fields instead of hiding themKyle Edwards2020-10-162-4/+15
| | |
* | | CMake Nightly Date StampKitware Robot2020-10-171-1/+1
| | |
* | | Merge topic 'file-configure-angle-brackets'Brad King2020-10-161-9/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 06a9a3bdc3 file(CONFIGURE): Allow angle brackets in content Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5379
| * | | file(CONFIGURE): Allow angle brackets in contentCristian Adam2020-10-151-9/+1
| | | | | | | | | | | | | | | | Fixes: #21306
* | | | Merge topic 'fix-refactor-generator-configs'Brad King2020-10-161-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9cb1d324d Fix regression in test/install/package configuration selection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5381
| * | | | Fix regression in test/install/package configuration selectionBrad King2020-10-151-3/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 7a969fe21d (cmMakefile: Refactor API to better handle empty config values, 2020-06-30, v3.19.0-rc1~567^2), calls to `GetGeneratorConfigs` that pass `OnlyMultiConfig` only want to get any configurations listed if the generator is multi-config. Fix the implementation to actually do that. Fixes: #21316
| * | | Merge topic 'cmake-E-cat-binary' into release-3.19Brad King2020-10-158-54/+103
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows 90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5364
* | | | CMake Nightly Date StampKitware Robot2020-10-161-1/+1
| | | |
* | | | Merge topic 'remove-server-mode'Brad King2020-10-1519-3603/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9952ee063a server: remove deprecated 'cmake -E server' mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5370
| * | | | server: remove deprecated 'cmake -E server' modeBrad King2020-10-1419-3603/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The server mode has been deprecated since commit 996e1885c4 (server: deprecate in favor of the file-api, 2019-04-19, v3.15.0-rc1~198^2). Clients should now be using the file-api. Remove the server mode.
* | | | | Merge topic 'cmake-E-cat-binary'Brad King2020-10-158-54/+103
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7a5f28318 cmake: Fix '-E cat' command for binary files on Windows 90b39a5209 cmConsoleBuf: Factor out cout/cerr console buffer management f1fdd15863 clang-format: Fix include block order in ctest.cxx and cpack.cxx Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5364
| * | | | cmake: Fix '-E cat' command for binary files on WindowsJohnny Jazeix2020-10-143-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reset `std::cout` to write in binary mode with no encoding conversions. Co-Author: Brad King <brad.king@kitware.com> Fixes: #21295
| * | | | cmConsoleBuf: Factor out cout/cerr console buffer managementBrad King2020-10-147-36/+65
| | | | |
| * | | | clang-format: Fix include block order in ctest.cxx and cpack.cxxBrad King2020-10-142-13/+14
| | | | |
| * | | | CMake 3.18.4v3.18.4Brad King2020-10-061-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2020-10-151-1/+1
| |/ / / |/| | |
* | | | Merge topic 'ninja-depfile-transformation'Brad King2020-10-1417-29/+318
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 146e1e6ba1 Ninja: Transform DEPFILEs with policy CMP0116 596439b1bb cmCustomCommandGenerator: Add option to transform depfile b2c14bc774 cmake -E: Add cmake_transform_depfile internal command 946adadd40 cmGccDepfileReader: Rework helper code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5325
| * | | | Ninja: Transform DEPFILEs with policy CMP0116Kyle Edwards2020-10-133-3/+52
| | | | | | | | | | | | | | | | | | | | Fixes: #21267
| * | | | cmCustomCommandGenerator: Add option to transform depfileKyle Edwards2020-10-133-3/+80
| | | | |
| * | | | cmake -E: Add cmake_transform_depfile internal commandKyle Edwards2020-10-134-0/+148
| | | | |
| * | | | cmGccDepfileReader: Rework helper codeKyle Edwards2020-10-137-23/+38
| | | | | | | | | | | | | | | | | | | | | | | | | Fix some of the semantics of the depfile, add error handling, and refactor cmGccDepfileLexerHelper.
* | | | | Merge topic 'ninja-multi-no-cache-variables'Brad King2020-10-142-23/+13
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 297ab15bf6 Ninja Multi-Config: Read configuration variables as normal variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5360
| * | | | | Ninja Multi-Config: Read configuration variables as normal variablesKyle Edwards2020-10-132-23/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Early versions of the Ninja Multi-Config generator required CMAKE_CONFIGURATION_TYPES and friends to be cache variables in order to support selecting the default config in cmake(1) --build. The behavior of cmake(1) --build has since been updated to no longer require this, and requiring these variables to be cache variables is inconsistent with the other generators. Read the variables as normal CMake variables like the other generators. This does not require a policy, since the only scenario where this would cause a breakage is one where the cache variable and the CMake variable are explicitly set to different values, which doesn't make sense to do anyway.
* | | | | Merge topic 'file-GENERATE-refactor'Brad King2020-10-141-29/+73
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2713a4fb37 file(GENERATE): Refactor options handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5315
| * | | | | file(GENERATE): Refactor options handlingAsit Dhal2020-10-121-29/+73
| | | | | |
* | | | | | Merge topic 'post-rel-dev'Brad King2020-10-142-3/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b13f1a527 Help/dev: Add maintainer guide step for post-release policy updates a0e474aaf2 Configure CMake itself with policies through CMake 3.18 3eaf053940 export: Increase maximum policy version in exported files to 3.18 2b218883cd Add deprecation warnings for policies CMP0075 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5363
| * | | | | | export: Increase maximum policy version in exported files to 3.18Brad King2020-10-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The files generatd by `install(EXPORT)` and `export()` commands are known to work with policies as of CMake 3.18, so enable them in sufficiently new CMake versions.
| * | | | | | Add deprecation warnings for policies CMP0075 and belowBrad King2020-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.12 and below to encourage projects to port away from setting policies to OLD.
* | | | | | | Merge topic 'cmake-gui-res'Brad King2020-10-141-2/+2
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 440ee739c4 cmake-gui: Attach icons only to main GUI executables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5368
| * | | | | | cmake-gui: Attach icons only to main GUI executablesBrad King2020-10-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit efe48189bf (cmake-gui: Restore application icon on macOS, 2020-10-13, v3.19.0-rc1~2^2) and commit f7ae4f572b (cmake-gui: Restore application icon on Windows, 2020-10-13, v3.19.0-rc1~1^2) we attached the icon source files to all consumers of `CMakeGUILib`, but that includes other libraries like `CMakeGUIMainLib`. The latter library is meant only for direct consumption by a GUI executable, so use that to propagate the icons instead.
| * | | | | | CMake 3.19.0-rc1v3.19.0-rc1Brad King2020-10-131-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2020-10-141-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'cmake-gui-windows-icon'Brad King2020-10-131-5/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7ae4f572b cmake-gui: Restore application icon on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5362
| * | | | | cmake-gui: Restore application icon on WindowsBrad King2020-10-131-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 41e223deb3 (CMake GUI: Split up into libraries, add test shim, 2020-09-14) the Windows resource source file that references the icon was moved to CMakeGUILib, but it needs to be directly in the main application in order to be attached properly.
* | | | | | Merge topic 'cmake-gui-macos-icon'Brad King2020-10-131-6/+6
|\ \ \ \ \ \ | |/ / / / / | | | / / / | |_|/ / / |/| | | | | | | | | | | | | | | | | | | efe48189bf cmake-gui: Restore application icon on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5361
| * | | | cmake-gui: Restore application icon on macOSBrad King2020-10-131-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 41e223deb3 (CMake GUI: Split up into libraries, add test shim, 2020-09-14) the macOS icon source file was moved to CMakeGUILib, but it needs to be directly in the main application in order to be attached to the `.app` in the right place.
* | | | | Merge topic 'explicit-source-extensions'Kyle Edwards2020-10-134-21/+57
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd50a75fa0 CMP0115: Require source file extensions to be explicit Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !5346
| * | | | | CMP0115: Require source file extensions to be explicitKyle Edwards2020-10-134-21/+57
| | | | | |
* | | | | | Merge topic 'export-namelink-only-comment-removal'Brad King2020-10-131-1/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a9af79995 export: Remove leftover inaccurate code comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5359
| * | | | | export: Remove leftover inaccurate code commentCraig Scott2020-10-131-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No functional changes. Relates: !5352
| * | | | | Merge topic 'export-namelink-only' into release-3.19Craig Scott2020-10-121-19/+27
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64690f6df0 export: Do not fail generation for namelink-only case Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5352
* | | | | | | CMake Nightly Date StampKitware Robot2020-10-131-1/+1
| | | | | | |