summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |_|/ |/| |
* | | CMake Nightly Date StampKitware Robot2017-10-201-1/+1
|/ /
* | Merge topic 'curl_netrc_options'Brad King2017-10-193-0/+98
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d45aa38a Add dev notes for topic 'curl_netrc_options' 60c272b6 ExternalProject: Add support for NETRC and NETRC_FILE suboption 754e39dd Add testcases for file(DOWNLOAD|UPLOAD) netrc options 5d67e902 file(DOWNLOAD|UPLOAD): Add 'NETRC' and 'NETRC_FILE' suboption Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ruslan Baratov <ruslan_baratov@yahoo.com> Merge-request: !1376
| * | file(DOWNLOAD|UPLOAD): Add 'NETRC' and 'NETRC_FILE' suboptionShane Parris2017-10-183-0/+98
| | |
* | | Merge topic 'ide-direct-CMakeLists.txt'Brad King2017-10-196-71/+92
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 344d149a VS,Xcode: Add CMakeLists.txt sources without mutating targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1392
| * | | VS,Xcode: Add CMakeLists.txt sources without mutating targetsBrad King2017-10-186-71/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than injecting `CMakeLists.txt` files into each target's `SOURCES`, teach the generators to add them during generation using dedicated code. This avoids mutating the original targets, and avoids polluting `$<TARGET_PROPERTY:foo,SOURCES>` with generator-specific content. This also avoids listing the `CMakeLists.txt` sources in the results of `CMAKE_DEBUG_TARGET_PROPERTIES==SOURCES` so the `RunCMake.TargetSources` test no longer needs a separate case for IDEs.
* | | | CMake Nightly Date StampKitware Robot2017-10-191-1/+1
|/ / /
* | | Merge topic 'cmake-open'Brad King2017-10-1817-28/+264
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 96d642c7 cmake-gui: Use cmake::Open to open generated project 5de37a4a cmake: Add --open option for IDE generators Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ruslan Baratov <ruslan_baratov@yahoo.com> Merge-request: !1337
| * | | cmake-gui: Use cmake::Open to open generated projectGregor Jasny2017-10-134-28/+46
| | | |
| * | | cmake: Add --open option for IDE generatorsGregor Jasny2017-10-1313-0/+218
| | |/ | |/|
* | | Merge topic 'vs-cuda-machine'Brad King2017-10-181-0/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | fd90a14f VS: Set CUDA TargetMachinePlatform explicitly on x64 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1390
| * | | VS: Set CUDA TargetMachinePlatform explicitly on x64Brad King2017-10-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `TargetMachinePlatform` setting tells CUDA what `--machine {32,64}` flag to pass to nvcc. While CUDA automatically chooses the proper default for the target architecture, it does not reflect this in the user-visible IDE settings. Set it explicitly to fix the user-visible setting. Fixes: #17355
* | | | CMake Nightly Date StampKitware Robot2017-10-181-1/+1
| | | |
* | | | Merge topic 'vs-2017-cl-check'Brad King2017-10-172-25/+40
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f566586e VS: Detect compiler component in VS 2017 instances more reliably c6bb704e cmVSSetupHelper: Fix install location encoding conversion 4c3116d7 cmVSSetupHelper: Factor out install location string construction Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1388
| * | | | VS: Detect compiler component in VS 2017 instances more reliablyBrad King2017-10-162-19/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `Microsoft.VisualStudio.Component.VC.Tools.x86.x64` component is not the only way a VS instance may provide the `cl` compiler tool. For example, VS 2017 Express Edition does not install that component. Instead search for the tools directly on disk within an instance. Suggested-by: Rich Chiodo <rchiodo@microsoft.com> Fixes: #17349
| * | | | cmVSSetupHelper: Fix install location encoding conversionBrad King2017-10-161-2/+3
| | | | |
| * | | | cmVSSetupHelper: Factor out install location string constructionBrad King2017-10-162-6/+12
| |/ / / | | | | | | | | | | | | This also adds a missing conversion to unix slashes in one code path.
* | | | CMake Nightly Date StampKitware Robot2017-10-171-1/+1
| | | |
* | | | Merge topic 'imported-interface-no-system'Brad King2017-10-162-5/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22beb07f Help: Clarify documentation of NO_SYSTEM_FROM_IMPORTED 2de0e0fd Do not initialize NO_SYSTEM_FROM_IMPORTED on INTERFACE libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1386
| * | | | Do not initialize NO_SYSTEM_FROM_IMPORTED on INTERFACE librariesBrad King2017-10-132-5/+9
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The change in commit v3.8.0-rc1~276^2 (Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE libraries, 2016-11-21) was incorrect. The property is not meant to be set on imported targets at all. It is meant to be set on their consumers that compile sources. Since INTERFACE libraries have no sources to compile, the property is not needed on them. Revert most of that change. Unfortunately we must still tolerate project code setting NO_SYSTEM_FROM_IMPORTED on INTERFACE libraries because they were allowed by CMake 3.8 and 3.9. Issue: #17348
* | | | Merge topic 'cpack-wix-cygwin'Brad King2017-10-168-16/+192
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e1409101 cpack wix: support WiX generator on Cygwin e258fe03 cpack wix: fix path error on cygwin Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1367
| * | | | cpack wix: support WiX generator on CygwinStephen Sorley2017-10-138-16/+192
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cygwin-built CMake now converts paths from Cygwin to Windows form (using cygpath -w) before they're passed to WiX. The Wix generator on Cygwin requires the libuuid-dev package when building CMake. However, the DLL it links to is installed by default as part of Cygwin's core libs, so it does not need to be distributed. If libuuid-dev isn't available, CMake is simply built without Wix support on Cygwin.
* | | | Merge topic 'cpack-dmg-errors'Brad King2017-10-161-6/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1943dc6b cmCPackDragNDropGenerator: Improve error reporting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1379
| * | | | cmCPackDragNDropGenerator: Improve error reportingClinton Stimpson2017-10-121-6/+14
| | | | | | | | | | | | | | | | | | | | When running hdiutil and other commands, capture errors and log them.
* | | | | Merge topic 'update-kwsys'Brad King2017-10-165-27/+40
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | df92617b Merge branch 'upstream-KWSys' into update-kwsys e44b0cb2 KWSys 2017-10-12 (ef0ad34d) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1384
| * | | | | Merge branch 'upstream-KWSys' into update-kwsysBrad King2017-10-135-27/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-KWSys: KWSys 2017-10-12 (ef0ad34d)
* | | | | | CMake Nightly Date StampKitware Robot2017-10-161-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-10-151-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2017-10-141-1/+1
|/ / / / /
* | | | | CMake Nightly Date StampKitware Robot2017-10-131-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2017-10-121-1/+1
|/ / /