Brad King
30908fa0ee
Merge topic 'xcode-restore-CMakeLists'
...
0ce8a5c08d Xcode: Fix generated references to CMakeLists.txt files
9457c95aa0 cmGlobalXCodeGenerator: Mark known source locations
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3999
2019-11-06 09:23:56 -05:00
Alex Turbov
53227a4ff2
Refactor: Modernize foreach code and fix some bugs
...
- fix the typo in `foreach` documentation
- fix broken `foreach(... IN ITEMS ... LISTS ...)`
- add tests of `foreach` for existed functionality and fixes
2019-11-06 16:14:47 +02:00
Kitware Robot
099f6c300a
CMake Nightly Date Stamp
2019-11-06 00:01:08 -05:00
Brad King
0ce8a5c08d
Xcode: Fix generated references to CMakeLists.txt files
...
Refactoring in commit 2d888e3390 (cmSourceFile: Rename mutating
GetFullPath() overload, 2019-08-29, v3.16.0-rc1~160^2) accidentally left
the paths to `CMakeLists.txt` files empty in generated Xcode project
files.
Fixes : #19927
2019-11-05 14:29:41 -05:00
Brad King
9457c95aa0
cmGlobalXCodeGenerator: Mark known source locations
2019-11-05 14:22:45 -05:00
Marc Chevrier
2a67ebf71b
cmGeneratorTarget: modernize memory management
2019-11-05 20:10:01 +01:00
Johnny Jazeix
68b5af65fa
CPack/NSIS: Add options for custom welcome/finish titles + display on 3 lines
...
Fixes : #11275
2019-11-05 20:09:53 +01:00
Brad King
016601e5e6
Merge branch 'backport-ctest-resource-groups'
2019-11-05 12:59:16 -05:00
Craig Scott
c544cb6698
CTest: Rename hardware -> resources for source code
2019-11-05 12:08:35 -05:00
Craig Scott
6ce27d3a2e
cmCTestMultiProcessHandler: Rename resource locking functions
...
Renaming these ahead of other refactoring which will use the
previous names. The previous names more accurately reflect their
purpose after this commit anyway (talking about locking and
unlocking rather than allocating and deallocating).
2019-11-05 12:08:35 -05:00
Craig Scott
a7c1e15cc4
CTest: Rename hardware -> resources for CMake variables, command options
...
Only changes the user-visible effects of renaming hardware
allocation to resource allocation. Code changes are the minimum
needed to achieve that.
2019-11-05 12:08:35 -05:00
Brad King
73a40b19ff
CTest: Rename "Processes" lexer to "ResourceGroups"
...
The corresponding test property `PROCESSES` has been renamed to
`RESOURCE_GROUPS`.
2019-11-05 12:08:35 -05:00
Brad King
af9ed543b0
CTest: Rename PROCESSES test property to RESOURCE_GROUPS
...
The `PROCESSES` test property name added for CMake 3.16 is too close to
the existing `PROCESSORS` test property. Furthermore, the property in
principle specifies groups of resources organized in a way that is
meaningful to a particular test. The groups may often correspond to
processes but they could have other meanings. Since the property name
`PROCESSES` has not been in a final 3.16 release yet, simply rename it
to `RESOURCE_GROUPS`.
Fixes : #19914
2019-11-05 12:08:01 -05:00
Brad King
0ec60a4002
Merge branch 'source_group-tree' into release-3.16
...
Merge-request: !3979
2019-11-05 11:31:16 -05:00
Brad King
408a3a7d5e
Merge branch 'objc-pch' into release-3.16
...
Merge-request: !3983
2019-11-05 11:31:10 -05:00
Brad King
2d83709038
Merge branch 'docs-INSTALL_REMOVE_ENVIRONMENT_PATH' into release-3.16
...
Merge-request: !3985
2019-11-05 11:30:56 -05:00
Brad King
cb165b8b79
Merge topic 'source_group-tree'
...
3c0ca5a9d9 source_group: ensure that passed file is not a directory
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3979
2019-11-05 11:30:27 -05:00
Brad King
13ea5f06fa
Merge topic 'objc-pch'
...
e331367a89 PCH: Add support for OBJC/OBJCXX languages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3983
2019-11-05 11:24:55 -05:00
Brad King
20fdf9a92b
Merge topic 'docs-INSTALL_REMOVE_ENVIRONMENT_PATH'
...
dd05ef429a Help: Fix inaccuracies in INSTALL_REMOVE_ENVIRONMENT_RPATH docs
ac8de0dbcf RPATH: Remove stray indent in generated file(RPATH_CHANGE) command
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3985
2019-11-05 11:21:25 -05:00
Craig Scott
c831e409a5
Merge branch 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY' into release-3.16
...
Merge-request: !3968
2019-11-05 23:19:14 +11:00
Craig Scott
abb0119350
Merge topic 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY'
...
55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3968
2019-11-05 07:17:17 -05:00
Kitware Robot
003e1f992e
CMake Nightly Date Stamp
2019-11-05 00:01:08 -05:00
Craig Scott
9667996923
Merge topic 'message-check-types'
...
7b2dd9dedc Refactor: Use added message types in various modules
949a1e120a message: New message types to mark checks performed by CMake
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3689
2019-11-04 14:11:45 -05:00
Sylvain Joubert
d5d5ba3f7f
ccmake: Identify the current cache entry
2019-11-04 20:06:51 +01:00
Mateusz Janek
3c0ca5a9d9
source_group: ensure that passed file is not a directory
...
Fixes : #19769
2019-11-04 13:37:41 -05:00
Sylvain Joubert
005aba29a1
ccmake: Improve display of the key controls
...
Reduce space usage and add the key to display the output
2019-11-04 18:59:20 +01:00
Sylvain Joubert
93b66735ac
ccmake: Use type-based colors to display cache values
...
The colors are based on the entry type (or value for booleans),
paths and filepaths sharing the same color.
2019-11-04 18:59:20 +01:00
Kyle Edwards
3c85f11fed
INSTALL_NAME_DIR: Add support for generator expressions
2019-11-04 12:01:05 -05:00
Robert Maynard
55df3954d3
find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
...
Extend the change from commit 1d00ba9ccf (Find: find_package prefers
variable CMAKE_FIND_USE_REGISTRY, 2018-11-13, v3.16.0-rc1~461^2~1)
to cover the system package registry too.
Fixes : #19890
2019-11-04 10:31:16 -05:00
Brad King
5c3c228570
Merge topic 'cpack_absolute_package_directory'
...
63c0bc9292 CPack: Ensure CPACK_PACKAGE_DIRECTORY is an absolute path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3946
2019-11-04 10:29:44 -05:00
Brad King
abac3a31a2
Merge topic 'root-dir-assertion-fix'
...
0692eaf0fe ForceToRelativePath: Fix spurious assertion when local path is root dir
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3976
2019-11-04 10:24:31 -05:00
Craig Scott
ac8de0dbcf
RPATH: Remove stray indent in generated file(RPATH_CHANGE) command
2019-11-04 16:26:42 +11:00
Kitware Robot
e3afdef8c5
CMake Nightly Date Stamp
2019-11-04 00:01:09 -05:00
Cristian Adam
e331367a89
PCH: Add support for OBJC/OBJCXX languages
2019-11-03 21:34:39 +01:00
Kitware Robot
0fb4e0ad15
CMake Nightly Date Stamp
2019-11-03 00:01:06 -04:00
Alex Turbov
7b2dd9dedc
Refactor: Use added message types in various modules
...
Co-Authored-By: Craig Scott <craig.scott@crascit.com >
2019-11-02 14:10:09 +02:00
Alex Turbov
949a1e120a
message: New message types to mark checks performed by CMake
...
Closes #19638 .
Co-Authored-By: Craig Scott <craig.scott@crascit.com >
2019-11-02 14:10:09 +02:00
Craig Scott
0692eaf0fe
ForceToRelativePath: Fix spurious assertion when local path is root dir
...
Fixes : #19909
2019-11-02 17:54:13 +11:00
Kitware Robot
60e7e5b605
CMake Nightly Date Stamp
2019-11-02 00:01:06 -04:00
Kyle Edwards
2ec1156b80
Refactor: Generalize cmExportInstallFileGenerator::ReplaceInstallPrefix()
2019-11-01 17:29:37 -04:00
Johnny Jazeix
63c0bc9292
CPack: Ensure CPACK_PACKAGE_DIRECTORY is an absolute path
...
Fixes : #18133 , #19412
2019-11-01 10:18:33 -04:00
Brad King
6660926f22
Merge topic 'ctest-repeat-until-pass'
...
39ac8b4eb5 ctest: Add --repeat-after-timeout option
80c2c9d14c ctest: Add --repeat-until-pass option
0187e52244 cmCTestRunTest: Use inline member initializers
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3960
2019-11-01 09:55:18 -04:00
Kitware Robot
b42da46233
CMake Nightly Date Stamp
2019-11-01 00:01:08 -04:00
Brad King
c1d5d5eb11
CMake 3.16.0-rc3
2019-10-31 09:25:31 -04:00
Brad King
6f15cea15e
Merge topic 'autogen_windows_search_fix'
...
90d643c312 Autogen: Fix ambiguity in header file detection on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3962
2019-10-31 09:09:39 -04:00
Brad King
7fa657b41d
Merge branch 'autogen_windows_search_fix' into release-3.16
...
Merge-request: !3962
2019-10-31 09:08:18 -04:00
Brad King
9a72065fa9
Merge topic 'update-kwsys'
...
5ddcaae77c Merge branch 'upstream-KWSys' into update-kwsys
fe6725a1f7 KWSys 2019-10-30 (43131a7c)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3963
2019-10-31 08:54:45 -04:00
Kitware Robot
e4a5215e97
CMake Nightly Date Stamp
2019-10-31 00:01:10 -04:00
Sebastian Holtermann
90d643c312
Autogen: Fix ambiguity in header file detection on Windows
...
On Windows, `CollapseFullPath` called with a path that ends with a dot
might return a file with the same base name but any extension.
To make sure we get only the file with the requested header extension,
pass the complete file name to `CollapseFullPath`.
Fixes : #19892
2019-10-30 09:34:06 -04:00
Brad King
dbf5ae35b5
Merge topic 'scanbuild-fixes'
...
fe5ba71bd0 Tests: Suppress clang scan-build warning in UTF8 test
3cf71e8c7d cmLocalGenerator: Drop unused initializer in AddUnityBuild
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3958
2019-10-30 09:30:34 -04:00