summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2019-10-251-1/+1
|
* Merge topic 'fortran-ext-F'Brad King2019-10-241-3/+2
|\ | | | | | | | | | | | | 39fbbd6fea Fortran: Add .F extension to Source Files group Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3940
| * Fortran: Add .F extension to Source Files groupJohnny Jazeix2019-10-231-3/+2
| | | | | | | | | | | | While at it, improve source layout of the regex string literal. Fixes: #8768
* | CMake Nightly Date StampKitware Robot2019-10-241-1/+1
|/
* CMake Nightly Date StampKitware Robot2019-10-231-1/+1
|
* Merge topic 'android-native'Brad King2019-10-221-0/+4
|\ | | | | | | | | | | | | c5892e484e Android: add support for native compilation, such as with the Termux app Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3917
| * Android: add support for native compilation, such as with the Termux appButta2019-10-151-0/+4
| | | | | | | | | | | | | | | | | | The CMake support for Android assumes cross-compilation using the NDK, so stub out that Android NDK support and use the Linux support that's already invoked. Set CMAKE_HOST_SYSTEM_NAME to "Android", rather than "Linux". Issue: #19840
* | CMake Nightly Date StampKitware Robot2019-10-221-1/+1
| |
* | Merge topic 'ccmake-clear-help'Brad King2019-10-211-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 9276beae5e ccmake: Fully clear the 1st help line when processing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3937
| * | ccmake: Fully clear the 1st help line when processingSylvain Joubert2019-10-201-1/+1
| | |
| * | CMake 3.16.0-rc2v3.16.0-rc2Brad King2019-10-181-1/+1
| | |
| * | Merge branch 'pch-makefile-depends' into release-3.16Brad King2019-10-172-23/+9
| |\ \ | | | | | | | | | | | | Merge-request: !3928
| * \ \ Merge branch 'export-target-lang-name' into release-3.16Brad King2019-10-172-14/+25
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3927
| * \ \ \ Merge branch 'swift-cross-compile' into release-3.16Brad King2019-10-151-0/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3921
| * \ \ \ \ Merge branch 'cmake-initial-cache-relative' into release-3.16Brad King2019-10-141-0/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3912
| * \ \ \ \ \ Merge branch 'no-git-version' into release-3.16Brad King2019-10-111-44/+46
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3910
| * \ \ \ \ \ \ Merge branch 'vs-v142-csharp-flags' into release-3.16Brad King2019-10-111-2/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3908
* | \ \ \ \ \ \ \ Merge topic 'project-include-before'Brad King2019-10-211-0/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7acc1266c project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3936
| * | | | | | | | | project: Add variable CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFOREDeniz Bahadir2019-10-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follow up commit 0761186949 (project: Add variable CMAKE_PROJECT_INCLUDE_BEFORE, 2019-03-28, v3.15.0-rc1~294^2) with a project-specific variant. This variable will be used similar to the already existing `CMAKE_PROJECT_INCLUDE_BEFORE` and `CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` variables. Fixes: #19854
* | | | | | | | | | Merge topic 'vs-per-config-sources'Brad King2019-10-214-15/+21
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55a0bebdd3 VS: Add support for per-config sources bcaecf6bcd Teach check for single-language targets to consider all configurations 324988a6b1 cmGeneratorTarget: Add GetAllConfigCompileLanguages method fd2c9fac10 cmGeneratorTarget: Return non-const sources from GetAllConfigSources Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3882
| * | | | | | | | | | VS: Add support for per-config sourcesBrad King2019-10-171-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 97cc29c766 (VS: Teach generators how to mark per-config source files, 2017-04-10, v3.9.0-rc1~268^2~2) the VS generators have known how to generate per-config sources. We've now converted most other code paths to support per-config sources, so drop the check that disallows it. This leaves only per-config support for precompiled headers and unity build transformations, but those are optional features that can be addressed later. Fixes: #18233 Issue: #19789
| * | | | | | | | | | Teach check for single-language targets to consider all configurationsBrad King2019-10-172-4/+2
| | | | | | | | | | |
| * | | | | | | | | | cmGeneratorTarget: Add GetAllConfigCompileLanguages methodBrad King2019-10-172-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return all languages needed to compile sources in the target in any configuration.
| * | | | | | | | | | cmGeneratorTarget: Return non-const sources from GetAllConfigSourcesBrad King2019-10-172-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need a non-const pointer to `cmSourceFile` instances in order to call `GetOrDetermineLanguage` on them.
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2019-10-211-1/+1
| | | | | | | | | | |
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2019-10-201-1/+1
| | | | | | | | | | |
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2019-10-191-1/+1
| | | | | | | | | | |
* | | | | | | | | | | Merge topic 'variable_watch-modernize'Brad King2019-10-183-43/+40
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4bedf6c9fa Refactor: Modernize `cmVariableWatchCommand` a little Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3892
| * | | | | | | | | | | Refactor: Modernize `cmVariableWatchCommand` a littleAlex Turbov2019-10-173-43/+40
| | | | | | | | | | | |
* | | | | | | | | | | | Merge topic 'vs-vctargetspath'Brad King2019-10-1811-12/+71
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e7d57bc3c3 VS: Propagate CMAKE_VS_GLOBALS into custom targets 45b4b4b930 VS: Propagate CMAKE_VS_GLOBALS into compiler id projects 548e9051a4 VS: Add support to override VCTargetsPath through toolset 99e83d4235 cmake: Teach --build mode to load CMAKE_GENERATOR_TOOLSET Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3817
| * | | | | | | | | | | | VS: Propagate CMAKE_VS_GLOBALS into custom targetsAlexander Boczar2019-10-171-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #19708
| * | | | | | | | | | | | VS: Add support to override VCTargetsPath through toolsetAlexander Boczar2019-10-153-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #19708
| * | | | | | | | | | | | cmake: Teach --build mode to load CMAKE_GENERATOR_TOOLSETAlexander Boczar2019-10-159-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the `cmGlobalGenerator::SetGeneratorToolset` signature to indicate when it is called from `cmake::build`.
* | | | | | | | | | | | | Merge topic 'pch-makefile-depends'Brad King2019-10-182-23/+9
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / / |/| | | | | | | | | | / / | | |_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 797689ab35 PCH: Fix Makefile dependencies to rebuild PCH on header changes 0b10b3ed6b cmMakefileTargetGenerator: Inline WriteObjectBuildFile in only call site Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3928
| * | | | | | | | | | | PCH: Fix Makefile dependencies to rebuild PCH on header changesBrad King2019-10-171-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the Makefile generator to scan the implicit dependencies of PCH creation. When a header named by `target_precompile_headers` changes the corresponding PCH must be rebuilt and all consumers recompiled. Fixes: #19830
| * | | | | | | | | | | cmMakefileTargetGenerator: Inline WriteObjectBuildFile in only call siteBrad King2019-10-162-22/+4
| | |_|_|/ / / / / / / | |/| | | | | | | | |
* | | | | | | | | | | CMake Nightly Date StampKitware Robot2019-10-181-1/+1
| |_|_|/ / / / / / / |/| | | | | | | | |
* | | | | | | | | | Merge topic 'graphviz'Brad King2019-10-176-441/+601
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 553658393c Graphviz: added test suite, fixes, enhancements Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: slodki <slodki_dom@poczta.onet.pl> Merge-request: !3766
| * | | | | | | | | | Graphviz: added test suite, fixes, enhancementsCorentin Plouet2019-10-086-441/+601
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a fairly comprehensive test suite * Separated the graph traversal logic from the Graphviz generation code by introducing a new class, cmLinkItemsGraphVisitor{.h,cxx} * Made the graph traversal logic less ad-hoc by using existing methods in the GlobalGenerator; this fixed a few bugs * Added support for new target types: custom targets, object and unknown libraries * Improved support for ALIAS libraries by showing the alias(es) in the graph * Introduced new flags to control those new libraries (consistent with existing flags) * Updated the documentation * Removed useless setting to set graph type in dot file * Improved the node/edge shapes (nicer, more consistent) * Added a legend to the graph * Some refactoring and cleanup of the Graphviz generation code * Added test and fix for issue 19746
* | | | | | | | | | Merge topic 'export-target-lang-name'Brad King2019-10-172-14/+25
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e436c573c install,export: Do not treat language names as target names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3927
| * | | | | | | | | install,export: Do not treat language names as target namesBrad King2019-10-162-14/+25
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When generating `IMPORTED_LINK_INTERFACE_LANGUAGES`, do not treat the entries as target names. Fixes: #19846
* | | | | | | | | Merge topic 'vs_dotnet_documentation_file'Brad King2019-10-172-0/+15
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 89ff3ee779 VS: Add VS_DOTNET_DOCUMENTATION_FILE property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3879
| * | | | | | | | | VS: Add VS_DOTNET_DOCUMENTATION_FILE propertyCharly Mourglia2019-10-152-0/+15
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `VS_DOTNET_DOCUMENTATION_FILE` target property to tell VS generators to add a `DocumentationFile` setting in `.csproj` files. Fixes: #19784
* | | | | | | | | CMake Nightly Date StampKitware Robot2019-10-171-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'swift-cross-compile'Brad King2019-10-161-0/+3
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 466ad466b4 try_compile: support Swift for cross-compilation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3921
| * | | | | | | | try_compile: support Swift for cross-compilationSaleem Abdulrasool2019-10-151-0/+3
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that we preserve the `CMAKE_Swift_COMPILER_TARGET` variable to use cross-compilation for testing the Swift compiler if appropriate.
* | | | | | | | CMake Nightly Date StampKitware Robot2019-10-161-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | Merge topic 'cmake-initial-cache-relative'Brad King2019-10-151-0/+2
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | / | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | c9d73b26b0 cmake: Fix relative path regression in -C Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3912
| * | | | | cmake: Fix relative path regression in -CPeter Waller2019-10-141-0/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 4ca0526f8a (cmake: Pass -S and -B into PreLoad.cmake and -C scripts, 2019-08-20, v3.16.0-rc1~195^2) the value of `CMAKE_SOURCE_DIR` is the source directory rather than the current working directory. This was correct on its own, but the place storing that value is also used as the base for relative paths specified on the command line. The latter should of course be relative to the current working directory. The fix is to switch to use a full path internally, unless a full path is already specified. Add tests for the behaviour of `-C` under these four circumstances: {with -S, without -S} x {full path, relative path} Fixes: #19827
* | | | | CMake Nightly Date StampKitware Robot2019-10-151-1/+1
| | | | |