summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary c_str() callsVitaly Stakhovsky2018-09-0524-43/+40
| | | | Use the new IsOn(),IsOff() overloads.
* Merge topic 'cmakeServerSourcesForInterfaceLibraries'Brad King2018-09-042-40/+184
|\ | | | | | | | | | | | | | | | | d74c2282ea cmake-server: Support codemodel filegroups for INTERFACE_SOURCES Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Tobias Hunger <tobias.hunger@gmail.com> Acked-by: Markus Enzenberger <markus.enzenberger@gmail.com> Merge-request: !2282
| * cmake-server: Support codemodel filegroups for INTERFACE_SOURCESJustin Goshi2018-08-302-40/+184
| | | | | | | | | | | | | | | | | | This change returns information for INTERFACE_SOURCES. We add a flag to the filegroup to indicate if the target represents interface sources. Protocol version is updated to 1.3 since this is a change to what was released in cmake version 3.12.
* | Merge topic 'improve-isonoff'Brad King2018-09-042-35/+68
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 1bfe6991ff cmSystemTools: Re-implement IsOn,IsOff with manual branching 1fa0f2bd03 cmSystemTools: Add IsOn(),IsOff() overloads accepting std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: vvs31415 <vstakhovsky@fastmail.com> Merge-request: !2336
| * | cmSystemTools: Re-implement IsOn,IsOff with manual branchingBrad King2018-08-311-35/+56
| | | | | | | | | | | | | | | | | | Replace use of std::string allocation, std::set lookups, and toupper conversions with explicit manual logic to do case-insensitive recognition of a specific set of strings.
| * | cmSystemTools: Add IsOn(),IsOff() overloads accepting std::stringVitaly Stakhovsky2018-08-312-0/+12
| | |
* | | CMake Nightly Date StampKitware Robot2018-09-041-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-09-031-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-09-021-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2018-09-011-1/+1
| | |
* | | Merge topic 'vs-winrt-default'Brad King2018-08-311-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e78a0c8e8a VS: Add option to tell generator that platfrom is WinRT by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2315
| * | | VS: Add option to tell generator that platfrom is WinRT by defaultMikhail Korolev2018-08-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Create a ``CMAKE_VS_WINRT_BY_DEFAULT`` variable to indicate this. Fixes: #18286
* | | | Merge topic 'gg-stdstring'Brad King2018-08-313-16/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4e94f6447a cmGlobalGenerator::AddInstallComponent(): Accept std::string argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2332
| * | | | cmGlobalGenerator::AddInstallComponent(): Accept std::string argumentVitaly Stakhovsky2018-08-303-16/+16
| | | | |
* | | | | Merge topic 'file-alt-httpauth'Brad King2018-08-311-0/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 31301b46a7 file: Allow DOWNLOAD/UPLOAD using alternate authentication methods Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2320
| * | | | | file: Allow DOWNLOAD/UPLOAD using alternate authentication methodsClinton Stimpson2018-08-301-0/+8
| | |/ / / | |/| | |
* | | | | Merge topic 'no-sanitizer-logfile'Brad King2018-08-311-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5aaaee5e9e ctest_memcheck: Change failure to find log file from error to warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2323
| * | | | | ctest_memcheck: Change failure to find log file from error to warningBetsy McPhail2018-08-281-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sanitizers do not create a log file when no defects are found. Therefore, it is currently impossible for ctest_memcheck to set both `CAPTURE_CMAKE_ERROR` and `RETURN_VALUE` to zero. With defects, `CAPTURE_CMAKE_ERROR`=0 and `RETURN_VALUE`=-1, as expected. With no defects, `CAPTURE_CMAKE_ERROR`=-1 and `RETURN_VALUE`=0.
* | | | | Merge topic 'ctest-WARNING-not-error'Brad King2018-08-311-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fde61d3ad3 CTest: Add error exception for sphinx-build WARNING messages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2325
| * | | | | CTest: Add error exception for sphinx-build WARNING messagesTim2018-08-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sphinx-build warnings look like this: ../path/to/file.rst:105: WARNING: This is not an error. CTest detects these as errors by this regex: ([^ :]+):([0-9]+): ([^ \\t]) Add an exception as we already have for lower-case `: warning`.
* | | | | | CMake Nightly Date StampKitware Robot2018-08-311-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'minor-cleanup'Brad King2018-08-302-15/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fb73edf70c cmake: Drop unnecessary working mode checks bd7dd6d414 cmake: Declare VariableWatch member only when used Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2326
| * | | | | cmake: Drop unnecessary working mode checksBrad King2018-08-291-13/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In `cmake::Run` we return before `Configure` or `Generate` when not working in normal mode so they do not need mode checks. While at it, remove a long-outdated comment about when to save the cache.
| * | | | | cmake: Declare VariableWatch member only when usedBrad King2018-08-291-2/+6
| | |/ / / | |/| | |
* | | | | Merge topic 'cpack-ext-stage-and-run'Brad King2018-08-303-21/+52
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a0f664aaf CPackExt: Add CPACK_EXT_ENABLE_STAGING and CPACK_EXT_PACKAGE_SCRIPT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2272
| * | | | | CPackExt: Add CPACK_EXT_ENABLE_STAGING and CPACK_EXT_PACKAGE_SCRIPTNils Gladitz2018-08-143-21/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CPACK_EXT_ENABLE_STAGING enables optional staging and CPACK_EXT_PACKAGE_SCRIPT allows to specify an optional script file that can package staged files via an external packaging tool. Issue: #18236
* | | | | | Merge topic 'cstr-remove'Brad King2018-08-301-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95084a313d cmVisualStudio10TargetGenerator: clean up c_str()s Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2322
| * | | | | | cmVisualStudio10TargetGenerator: clean up c_str()sVitaly Stakhovsky2018-08-281-8/+8
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'genex-evaluate-stdstring'Brad King2018-08-305-23/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65ab9ce938 Genex: Return Evaluate results as const std::string& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2314
| * | | | | | Genex: Return Evaluate results as const std::string&Vitaly Stakhovsky2018-08-285-23/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove unused overloads.
* | | | | | | CMake Nightly Date StampKitware Robot2018-08-301-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2018-08-291-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'lg-directory'Brad King2018-08-2811-22/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50fbfee3a0 cmLocalGenerator: return directories as const std::string& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2309
| * | | | | cmLocalGenerator: return directories as const std::string&Vitaly Stakhovsky2018-08-2711-22/+21
| | | | | |
* | | | | | Merge topic 'mk-directory'Brad King2018-08-2821-67/+65
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | c8fd23ec6f cmMakefile: return directories as const std::string& Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2311
| * | | | | cmMakefile: return directories as const std::string&Vitaly Stakhovsky2018-08-2721-67/+65
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2018-08-281-1/+1
| | | | | |
* | | | | | Merge topic 'more-misc-typos'Brad King2018-08-274-4/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aca65a9379 Maint: misc. typos Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2301
| * | | | | | Maint: misc. typosluz.paz2018-08-244-4/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | Found via `codespell`.
* | | | | | Merge topic 'update-icons'Brad King2018-08-275-0/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 66f59bd7da cmake-gui: Update icons Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2295
| * | | | | | cmake-gui: Update iconsT.J. Corona2018-08-165-0/+0
| | | | | | |
* | | | | | | Merge topic 'static-lib-options'Brad King2018-08-278-5/+63
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 974de0e199 static library: add property STATIC_LIBRARY_OPTIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2290
| * | | | | | | static library: add property STATIC_LIBRARY_OPTIONSMarc Chevrier2018-08-158-5/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | issue: #18251
* | | | | | | | Merge topic 'ProjectReference'Brad King2018-08-271-23/+21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e4ba1f5a94 VS: Disallow ReferenceOutputAssembly in ProjectReference if not possible Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2285
| * | | | | | | | VS: Disallow ReferenceOutputAssembly in ProjectReference if not possibleBastien Schatt2018-08-121-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly turn off `ReferenceOutputAssembly` in `ProjectReference` elements naming other project files whose types do not produce assemblies. We already do this for `C#` but it makes sense for other languages too. Fixes: #17906
* | | | | | | | | Merge topic 'ninja-generator-do-not-add-alias-matching-custom-command-output'Brad King2018-08-271-0/+6
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 180c2f8de8 Ninja: Fix dupbuild error skipping alias with conflicting custom command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Isaiah <isaiah.norton@gmail.com> Merge-request: !2276
| * | | | | | | | | Ninja: Fix dupbuild error skipping alias with conflicting custom commandJean-Christophe Fillion-Robin2018-08-091-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See-also: https://issues.slicer.org/view.php?id=4595 Reported-by: Isaiah Norton <inorton@bwh.harvard.edu>
* | | | | | | | | | Merge topic 'vs2017-no-default-FC'Brad King2018-08-271-0/+10
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bd768174a VS: Avoid VS 2017 toolset default use of /FC flag Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alberto Garcia Illera <agarciaillera@gmail.com> Acked-by: Martin Hořeňovský <martin.horenovsky@gmail.com> Merge-request: !2306
| * | | | | | | | | | VS: Avoid VS 2017 toolset default use of /FC flagBrad King2018-08-231-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2017 toolsets now use this flag by default if `UseFullPaths` is not explicitly set to `false` in the .vcxproj file. Since there is no negative form of this flag there is no way for projects to turn it off through our flag map. Also, the Makefile and Ninja generators do not add this flag unless it is explicitly specified by the project. Teach our generator to set `UseFullPaths` to `false` in VS 2017 unless the project or use has explicitly specified `/FC`. Fixes: #18261
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2018-08-271-1/+1
| | | | | | | | | | |