summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* utility: Added minimal std::thread drop-inJustin Berger2017-11-012-0/+79
|
* Merge topic 'vs-diagnostics-flag'Brad King2017-10-301-0/+4
|\ | | | | | | | | | | | | 82f95c95 VS generator: support /diagnostics compiler flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1411
| * VS generator: support /diagnostics compiler flagJustin Goshi2017-10-251-0/+4
| | | | | | | | | | Adding support for this flag so a user can specify it via the CMAKE_CXX_FLAGS variable.
* | Merge topic 'autogen-qrc-file-name'Brad King2017-10-301-5/+15
|\ \ | | | | | | | | | | | | | | | | | | a8bf0b2b Autogen: RCC: Append checksum suffix to wrapped file name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1422
| * | Autogen: RCC: Append checksum suffix to wrapped file nameSebastian Holtermann2017-10-291-5/+15
| | | | | | | | | | | | Closes #17404
* | | Merge topic 'fix-co-compile'Brad King2017-10-302-82/+75
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 197b4e18 Merge branch 'backport-fix-co-compile' into fix-co-compile 992962c7 cmcmd: Restore support for running multiple lint tools a5197eea cmcmd: Convert lint handlers to file-static functions 1c075ffd cmcmd: Rename loop iteration variable for clarity Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1418
| * \ \ Merge branch 'backport-fix-co-compile' into fix-co-compileBrad King2017-10-272-82/+75
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Resolve a logical conflict by replacing `cmArray{Begin,End}` from the their side with `cm::{cbegin,cend}` from our side.
| | * | | cmcmd: Restore support for running multiple lint toolsBrad King2017-10-271-56/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring in commit v3.10.0-rc1~115^2 (Clean up iwyu code to not be one big if statement, 2017-08-28) incorrectly changed the logic to run only one lint tool at a time. Restore support for running all tools specified on the command-line.
| | * | | cmcmd: Convert lint handlers to file-static functionsBrad King2017-10-272-29/+12
| | | | | | | | | | | | | | | | | | | | These do not need to be declared in the header.
| | * | | cmcmd: Rename loop iteration variable for clarityBrad King2017-10-271-2/+2
| | |/ /
* | | | Merge topic 'autogen-static-library-cycles'Brad King2017-10-301-17/+83
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3a4db861 Autogen: Tests: Add test for STATIC_LIBRARY cycles 798e4f2f Autogen: Don't add STATIC_LIBRARY cycle targets to the _autogen dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1408
| * | | | Autogen: Don't add STATIC_LIBRARY cycle targets to the _autogen dependenciesSebastian Holtermann2017-10-271-17/+83
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | When a STATIC_LIBRARY cycle is detected we don't add any STATIC_LIBRARY target from the cycle to the `_autogen` target dependencies. Closes #17389
| * | | CMake 3.10.0-rc3v3.10.0-rc3Brad King2017-10-191-1/+1
| | | |
| * | | Merge branch 'vs-cuda-machine' into release-3.10Brad King2017-10-171-0/+7
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !1390
| * \ \ \ Merge branch 'vs-2017-cl-check' into release-3.10Brad King2017-10-162-25/+40
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !1388
| * \ \ \ \ Merge branch 'imported-interface-no-system' into release-3.10Brad King2017-10-132-5/+9
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !1386
| * | | | | | CMake 3.10.0-rc2v3.10.0-rc2Brad King2017-10-121-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2017-10-301-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2017-10-291-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2017-10-281-1/+1
| | | | | | |
* | | | | | | Merge topic 'generalize-importedtargets-behavior'Brad King2017-10-2715-81/+48
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb88d2b5 Help: Add notes for topic 'generalize-importedtargets-behavior' 494906a8 Add support for IMPORTED GLOBAL targets to be aliased fe4b25ec Teach target_* commands to set INTERFACE properties of IMPORTED targets e40fd9fd cmTargetPropCommandBase: Fix typo in error message Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Henry Schreiner <henryschreineriii@gmail.com> Merge-request: !1264
| * | | | | | | Add support for IMPORTED GLOBAL targets to be aliasedDeniz Bahadir2017-10-262-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #15569 Issue: #17197
| * | | | | | | Teach target_* commands to set INTERFACE properties of IMPORTED targetsDeniz Bahadir2017-10-2613-65/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now, several `INTERFACE_*` properties can be set on `IMPORTED` targets, not only via `set_property` and `set_target_properties` but also via `target_compile_definitions`, `target_compile_features`, `target_compile_options`, `target_include_directories`, `target_sources` and `target_link_libraries`. Fixes: #15689 Issue: #17197
| * | | | | | | cmTargetPropCommandBase: Fix typo in error messageDeniz Bahadir2017-10-261-3/+2
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | Merge topic 'cmdparser-strcpy'Brad King2017-10-274-49/+51
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 576c079f cmCommandArgumentParser: remove the variable tokens from the class 98cb9f3e cmCommandArgumentParserHelper: constify some char* values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1410
| * | | | | | | cmCommandArgumentParser: remove the variable tokens from the classRolf Eike Beer2017-10-254-32/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make them local constants in the lexer file.
| * | | | | | | cmCommandArgumentParserHelper: constify some char* valuesRolf Eike Beer2017-10-252-17/+19
| |/ / / / / /
* | | | | | | Merge topic 'cmp0040-wording'Brad King2017-10-271-1/+1
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1b1f1a2 CMP0040: Clarify policy warning to match documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1415
| * | | | | | CMP0040: Clarify policy warning to match documentationBrad King2017-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit v3.5.0-rc1~8^2~2 (Help: Clarify policy `CMP0040` documentation, 2016-01-28) the documentation was clarified to indicate that the target must be defined in the current directory. Do the same for the text of the policy warning itself. Fixes: #17399
* | | | | | | CMake Nightly Date StampKitware Robot2017-10-271-1/+1
| | | | | | |
* | | | | | | Merge topic 'cm-array-begins-size'Brad King2017-10-269-105/+147
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 57132765 Replace cmArray{Begin,End,Size} by their standard counterparts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1352
| * | | | | | | Replace cmArray{Begin,End,Size} by their standard counterpartsMatthias Maennich2017-10-239-105/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | std::{begin,end} are part of C++11, std::{cbegin,cend} are part of C++14 and an standard compliant implementation has been introduced within the 'cm' namespace: cm::{cbegin,cend}. std::size is only part of C++17, hence exposing a compliant implementation within namespace cm (cm::size). where possible, the standard implementations are reused.
* | | | | | | | CMake Nightly Date StampKitware Robot2017-10-261-1/+1
| |_|/ / / / / |/| | | | | |
* | | | | | | Merge topic 'server-codemodel-install-dest'Brad King2017-10-253-1/+39
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 296eb9ad cmake-server: Add target install destinations to codemodel Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1382
| * | | | | | | cmake-server: Add target install destinations to codemodelJustin Goshi2017-10-243-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protocol version is updated to 1.2 since this is a change to what was released in cmake version 3.10.
* | | | | | | | Merge topic 'windows_symlinks'Brad King2017-10-254-7/+48
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 393e0fbe cmTimestamp: For symlinks switch to timestamp of resolved path 640709e7 cmSystemTools: Implement GetRealPath on Windows d41582fc Call GetRealPath through cmSystemTools instead of KWSys directly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1202
| * | | | | | | | cmTimestamp: For symlinks switch to timestamp of resolved pathManuel Núñez2017-10-241-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ModifiedTime uses stat on UNIX which does resolve symlinks, however Windows implementation relies on GetFileAttributesExW which does not. Getting real file path before calling ModifiedTime will not change UNIX semantic and will fix Windows behavior. Fixes: #17206
| * | | | | | | | cmSystemTools: Implement GetRealPath on WindowsManuel Núñez2017-10-242-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Override the KWSys GetRealPath on Windows and use uv_fs_realpath first to resolve symbolic links. Fixes: #17206
| * | | | | | | | Call GetRealPath through cmSystemTools instead of KWSys directlyManuel Núñez2017-10-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow a wrapper to be added to extend functionality.
* | | | | | | | | Merge topic 'defer-target-source-check'Brad King2017-10-254-15/+45
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4e7f6738 Defer check for sources within a target until generation. 6e4e7c65 Tests: Exclude bad RunCMake.add_executable case on multi-arch Xcode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1242
| * | | | | | | | | Defer check for sources within a target until generation.Deniz Bahadir2017-10-244-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `add_library` and `add_executable` commands can now be called with no source-files and won't generate a warning or error message, as long as source-files will be added later via the `target_sources` command. If during the generation step still no sources are associated with targets created by such calls a useful error message will be generated and generation fails. Targets of type `INTERFACE_LIBRARY`, `UTILITY` or `GLOBAL_TARGET` are excluded from this check because we do not need sources for these target types during generation. Fixes: #16872
* | | | | | | | | | CMake Nightly Date StampKitware Robot2017-10-251-1/+1
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge topic 'generator-instance'Brad King2017-10-2410-11/+160
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ffb3538 VS: Select and save a VS 2017 instance persistently 17edfa41 cmVSSetupHelper: Add option to specify an instance a19b8113 CheckLanguage: Pass generator instance into check 6b3cd64d ExternalProject: Propagate the generator instance 314613d1 Add infrastructure for generators to select a build tool instance Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1394
| * | | | | | | | | VS: Select and save a VS 2017 instance persistentlyBrad King2017-10-194-7/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Visual Studio 2017 supports multiple instances installed on a single machine. We use the Visual Studio Installer tool to enumerate instances and select one. Once we select an instance for a given build tree, save the result in `CMAKE_GENERATOR_INSTANCE` so we can re-configure the tree with the same instance on future re-runs of CMake. Fixes: #17268
| * | | | | | | | | cmVSSetupHelper: Add option to specify an instanceBrad King2017-10-192-4/+29
| | | | | | | | | |
| * | | | | | | | | Add infrastructure for generators to select a build tool instanceBrad King2017-10-195-0/+65
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add cache entry `CMAKE_GENERATOR_INSTANCE` to hold the instance location persistently across re-runs of CMake in a given build tree. For now we reject the option by default if explicitly set. It will be implemented on a per-generator basis. Pass the setting into try_compile project generation. Add a RunCMake.GeneratorInstance test to cover basic use cases for the option. Verify that `CMAKE_GENERATOR_INSTANCE` is empty by default, and that it is rejected when the generator does not support a user setting. Issue: #17268
* | | | | | | | | CMake Nightly Date StampKitware Robot2017-10-241-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2017-10-231-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2017-10-221-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2017-10-211-1/+1
| |_|/ / / / / / |/| | | | | | |