Kyle Edwards
ab2fc91821
Merge topic 'organize_makefile_help_output'
...
7c1470f146
Makefiles: Organize help output to group 'like' targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4260
2020-01-23 10:43:03 -05:00
Brad King
f0f7ea2bf5
Merge topic 'get-runtime-dependencies-keyword-args'
...
3573f62a16
Merge branch 'backport-get-runtime-dependencies-keyword-args'
c998c8d560
file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments
4c8a917a87
file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4262
2020-01-23 10:02:45 -05:00
Brad King
9771d231aa
Merge topic 'ninja-multi-default-build-alias'
...
8337ed0d73
Ninja Multi-Config: Add variable to control aliases in build.ninja
110037369d
Refactor: Split Ninja files into impl-<Config>.ninja and build-<Config>.ninja
e62a3414f7
Refactor: Move common.ninja into CMakeFiles
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4238
2020-01-23 10:01:14 -05:00
Ben Boeckel
6cc74b6140
cmGlobalNinjaGenerator: avoid cleandead and recompact in Ninja-Multi
...
Fixes : #20247
2020-01-23 09:24:46 -05:00
Kitware Robot
9c87d051ad
CMake Nightly Date Stamp
2020-01-23 00:01:09 -05:00
Kyle Edwards
c998c8d560
file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments
...
Also list all keywords that were missing values instead of only the
first one.
2020-01-22 14:34:33 -05:00
Robert Maynard
7c1470f146
Makefiles: Organize help output to group 'like' targets
2020-01-22 13:21:12 -05:00
Kyle Edwards
8337ed0d73
Ninja Multi-Config: Add variable to control aliases in build.ninja
2020-01-22 10:26:21 -05:00
Kyle Edwards
110037369d
Refactor: Split Ninja files into impl-<Config>.ninja and build-<Config>.ninja
2020-01-22 10:26:21 -05:00
Kyle Edwards
e62a3414f7
Refactor: Move common.ninja into CMakeFiles
2020-01-22 10:25:35 -05:00
Kyle Edwards
593d0f3a57
Merge topic 'ninja-restat-just-build.ninja'
...
eb2da206d9
cmGlobalNinjaGenerator: only restat build.ninja
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4245
2020-01-22 10:25:06 -05:00
Frank Winklmeier
c829f0cfca
trace: Add time and stack level to JSON output format
...
Add the timestamp and stack depth of the function call to the JSON trace
output format. This information can be useful for cmake profiling and
call stack inspection (see e.g. https://github.com/volo-zyko/cmake-profile-stats ).
Improve unit test to allow for varying set of keys to check in trace lines.
2020-01-22 09:58:52 -05:00
Brad King
15c573df41
Merge topic 'mark_as_advanced-without-cache'
...
3ec82b713e
cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache
701a5c60e0
cmake: avoid marking local or unused variables as advanced
af158149e7
FindOpenSSL: do not mark a local variable as advanced
74f659f1f2
FindCurses: only mark CURSES_EXTRA_LIBRARY when it is used
7e2ae4e96d
FindOpenGL: only mark declared cache variables as advanced
7cc02a0c29
FindLua: only mark LUA_MATH_LIBRARY as advanced if required
85cd26b8a6
FindBoost: only mark Boost_DIR as advanced if defined
338c7916ba
CTest: avoid marking undeclared cache variables as advanced
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4150
2020-01-22 09:50:49 -05:00
Brad King
39695f6fb3
Merge topic 'modernize-memory-management'
...
edab5add57
cmMakefileTargetGenerator: modernize memory management
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4250
2020-01-22 09:49:30 -05:00
Brad King
3be2abd889
Merge topic 'install-std-string'
...
5e54b0cf2f
cmInstallGenerator: std::string params
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4255
2020-01-22 09:40:32 -05:00
Brad King
3f601ebb0a
Merge topic 'vs-std-string'
...
2e768924f3
cmLocalVisualStudio7Generator: clean up c_str()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4249
2020-01-22 09:24:57 -05:00
Kitware Robot
0877438599
CMake Nightly Date Stamp
2020-01-22 00:01:07 -05:00
Vitaly Stakhovsky
5e54b0cf2f
cmInstallGenerator: std::string params
...
Several construction parameters converted to std::string
Also made a few class members const
2020-01-21 11:09:35 -05:00
Brad King
21e60da5bb
CMake 3.16.3
2020-01-21 10:17:47 -05:00
Brad King
7a89e3c36c
Merge topic 'install-std-string'
...
9db532f44d
cmInstall*Generator: std::string params
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4241
2020-01-21 09:21:51 -05:00
Vitaly Stakhovsky
9db532f44d
cmInstall*Generator: std::string params
...
Several construction parameters converted to std::string
Also made a few class members const
2020-01-21 09:19:13 -05:00
Ben Boeckel
eb2da206d9
cmGlobalNinjaGenerator: only restat build.ninja
...
This reduces the work that ninja needs to do on a CMake reconfigure.
2020-01-21 08:57:51 -05:00
Marc Chevrier
edab5add57
cmMakefileTargetGenerator: modernize memory management
2020-01-21 12:52:05 +01:00
Kitware Robot
2f7e76efa4
CMake Nightly Date Stamp
2020-01-21 00:01:16 -05:00
Ben Boeckel
3ec82b713e
cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache
...
Fixes : #18331
2020-01-20 15:49:29 -05:00
Vitaly Stakhovsky
2e768924f3
cmLocalVisualStudio7Generator: clean up c_str()
2020-01-20 15:44:07 -05:00
Brad King
941c09616b
Merge topic 'multi-ninja-pch'
...
a55df20499
Multi-Ninja: Add precompile headers support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4201
2020-01-20 11:59:28 -05:00
Brad King
56a3e84a67
Merge topic 'realpath-cache'
...
9d5a554cc9
cmGlobalGenerator: Add cache for realpath() results
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4220
2020-01-20 11:55:04 -05:00
Brad King
b168d8e855
Merge topic 'autogen_rcc_skip_unity' into release-3.16
...
086d9b2bab
Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4237
2020-01-20 11:54:13 -05:00
Brad King
6a5a23ea92
Merge topic 'autogen_rcc_skip_unity'
...
086d9b2bab
Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4237
2020-01-20 11:54:13 -05:00
Brad King
9b9dfacaa5
Merge topic 'acc-fix-in-source-depends-path'
...
ba3a417dce
Tests/CustomCommand: add a test for depending on a `./path`
e23475dc73
Tests/CustomCommand: fix custom command line to actually make its output
db4780d584
cmGeneratorTarget: search for relative paths to the binary directory
ec479f101f
cmLocalGenerator: collapse the path after construction
fd0ba705ce
add_custom_command: check if a relative path should be an in-source path
fd84f510f8
cmLocalGenerator: simplify the current source dir query
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4195
2020-01-20 11:52:00 -05:00
Kitware Robot
5e38b8f608
CMake Nightly Date Stamp
2020-01-20 00:01:13 -05:00
Craig Scott
582cc710c2
Merge topic 'pch-msvc-no-path-repetition' into release-3.16
...
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4236
2020-01-19 15:10:17 -05:00
Craig Scott
6bd07b9de1
Merge topic 'pch-msvc-no-path-repetition'
...
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4236
2020-01-19 15:10:17 -05:00
Kitware Robot
cd08cb7b8c
CMake Nightly Date Stamp
2020-01-19 00:01:08 -05:00
Kitware Robot
5b4b808cb4
CMake Nightly Date Stamp
2020-01-18 00:01:15 -05:00
Cristian Adam
a55df20499
Multi-Ninja: Add precompile headers support
...
Fixes : #19789
2020-01-17 23:17:35 +01:00
Sebastian Holtermann
086d9b2bab
Autogen: Enable SKIP_UNITY_BUILD_INCLUSION on AUTORCC generated files
...
`rcc` generated files are not compatible with unity builds, because they
contain classes in anonymous namespaces and static data with identical names.
This patch sets the source file property `SKIP_UNITY_BUILD_INCLUSION` to `On`
on all `AUTORCC` generated files to exclude them from unity build files.
Fixes : #20191 "QT5: Exclude resource files from unity build"
2020-01-17 09:48:35 -05:00
Brad King
a7fca06c46
Merge topic 'out-of-dir-link-list'
...
f0e67da061
target_link_libraries: Fix out-of-dir linking of a list of targets
acee629103
cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct
ba675f1ecc
Tests: Enable CMP0022 in ExportImport out-of-dir linking case
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4226
2020-01-17 09:41:10 -05:00
Brad King
cd6f6b2a9f
Merge topic 'cmake-ctest-arguments'
...
4153d8445b
Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4168
2020-01-17 09:40:23 -05:00
Brad King
796d66438b
Merge topic 'rename-cross-config-variable'
...
310b58e961
Ninja Multi-Config: Rename variable to be more consistent
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4234
2020-01-17 09:39:32 -05:00
Brad King
85e959b727
Merge topic 'feature/cmSourceFile-avoid-unnecessary-copy'
...
5da3d01fd1
cmSourceFile: avoid unnnecessary copies
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4233
2020-01-17 09:38:45 -05:00
Craig Scott
808888aa47
Merge topic 'cpack-custom-dmg-names'
...
6d6f4b9316
CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME
b53230fbee
Tests: Add DragNDrop as a testable CPack generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4227
2020-01-17 08:33:01 -05:00
Kitware Robot
c9836f8a88
CMake Nightly Date Stamp
2020-01-17 00:01:14 -05:00
Ben Boeckel
db4780d584
cmGeneratorTarget: search for relative paths to the binary directory
...
Dependencies in the form `./somepath.txt` are not found otherwise
because we only match on last-path-component searches and `.` never
shows up in a full path as a full component.
2020-01-16 13:56:30 -05:00
Ben Boeckel
ec479f101f
cmLocalGenerator: collapse the path after construction
...
The path may contain `..` or `.` components naïvely, so compute them out
before letting the generator handle them.
2020-01-16 13:56:30 -05:00
Ben Boeckel
fd0ba705ce
add_custom_command: check if a relative path should be an in-source path
...
This still is broken for dependencies on generated paths where they get
generated to the source directory rather than the build directory
however, but there's no way to determine that is the case.
Fixes : #20194
2020-01-16 13:54:26 -05:00
Ben Boeckel
fd84f510f8
cmLocalGenerator: simplify the current source dir query
2020-01-16 13:54:25 -05:00
Brad King
f0e67da061
target_link_libraries: Fix out-of-dir linking of a list of targets
...
In a case like
target_link_libraries(targetInOtherDir PUBLIC "$<1:a;b>")
then all entries in the list need to be looked up in the caller's
scope. Previously our `::@(directory-id)` suffix would apply only
to the last entry. Instead surround the entire entry by a pair
`::@(directory-id);...;::@` so that the `::@` syntax can encode
a directory lookup scope change evaluated as the list is processed.
Fixes : #20204
2020-01-16 13:24:27 -05:00
Brad King
acee629103
cmTargetLinkLibrariesCommand: Move HandleLibrary to helper struct
2020-01-16 11:53:52 -05:00
Cristian Adam
07fe1bcd4e
PCH: No repeated path for internal generated PCH files (MSVC case)
...
Fixes : #19952
2020-01-16 17:05:05 +01:00
Andrew Fuller
6d6f4b9316
CPack/DragNDrop: Support CPACK_DMG_<component>_FILE_NAME
2020-01-16 08:04:35 -08:00
Brad King
b2edb72642
Merge topic 'nag-submodule'
...
f7f60ddcf9
Fortran: Add support for NAG Fortran submodules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4229
2020-01-16 10:56:03 -05:00
Brad King
8cd35baae9
Merge topic 'nag-submodule' into release-3.16
...
f7f60ddcf9
Fortran: Add support for NAG Fortran submodules
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4229
2020-01-16 10:56:02 -05:00
Kyle Edwards
310b58e961
Ninja Multi-Config: Rename variable to be more consistent
...
Also make some tweaks to the documentation.
2020-01-16 10:34:43 -05:00
Brad King
05738b5f21
Merge topic 'pch_job_pool'
...
97c124e30f
Ninja: Add a separate job pool for PCH creation
ebd0b16ddb
vim: Add target_precompile_headers command highlighting
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4224
2020-01-16 10:33:48 -05:00
Dan Johnston
97c124e30f
Ninja: Add a separate job pool for PCH creation
...
Add a `JOB_POOL_PRECOMPILE_HEADER` target property to specify the pool
name, and its associated `CMAKE_JOB_POOL_PRECOMPILE_HEADER` variable.
Fixes : #20217
2020-01-16 10:32:25 -05:00
Brad King
c0ac53b90c
Merge topic 'file_download_filename'
...
c0da651c09
file(DOWNLOAD): Don't fail if given just a filename to write to
b56d429324
Tests: Fix CMake.FileDownload test failures not reported
3bc73803b4
Tests: Fix CMake.FileDownload test in presence of proxy
1352585301
Tests: Extend CMake.FileDownload test internal timeouts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4159
2020-01-16 10:26:04 -05:00
Kitware Robot
1e728706de
CMake Nightly Date Stamp
2020-01-16 00:01:15 -05:00
Tim Blechmann
5da3d01fd1
cmSourceFile: avoid unnnecessary copies
...
the copies in `cmSourceFile::FindFullPath` are one of the hotspots of
my build system: we can easily avoid them by capturing by reference
instead of by value
2020-01-16 12:22:25 +08:00
Tim Blechmann
9d5a554cc9
cmGlobalGenerator: Add cache for realpath() results
...
Cache the results of `realpath()` system calls in `cmGlobalGenerator`
to avoid repeating such calls for the same paths over and over.
2020-01-16 11:29:25 +08:00
Robert Goulet
4153d8445b
Add CMAKE_CTEST_ARGUMENTS variable to pass command-line arguments to ctest
...
Fixes : #20172
2020-01-15 15:02:56 -05:00
Neil Carlson
f7f60ddcf9
Fortran: Add support for NAG Fortran submodules
...
They use a `.sub` extension.
Fixes : #20220
2020-01-15 14:12:22 -05:00
Brad King
6e6f5afd03
Merge topic 'unity-lang-filename'
...
274a6f3699
Unity Build: include language in generated source file name
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4223
2020-01-15 13:37:33 -05:00
Brad King
2272d256fb
Merge topic 'ctest-timeout-on-pipe'
...
d1976cd1f2
CTest: Fix timeout when grandchild keeps pipes open
2f5eb1800b
Tests: Add RunCMake.CTestTimeout test
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4217
2020-01-15 13:35:51 -05:00
Brad King
601af8f2b4
Merge topic 'avoid-getcwd'
...
22f38c0d6b
cmake: avoid getcwd in `CollapseFullPath`
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4218
2020-01-15 13:32:52 -05:00
Brad King
f11b8342a0
Merge topic 'modernize-memory-management'
...
328f586be7
cmAlgorithms.h: remove obsolete helpers
f466cea3c9
cmMakefile: modernize memory management
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4215
2020-01-15 13:32:00 -05:00
Johnny Jazeix
c0da651c09
file(DOWNLOAD): Don't fail if given just a filename to write to
...
Fixes : #17969
2020-01-15 10:03:35 -05:00
Kitware Robot
e125d50ddf
CMake Nightly Date Stamp
2020-01-15 00:01:17 -05:00
Kyle Edwards
93526fd913
Merge topic 'ninja_multi_config_support_cuda'
...
c7ac13e8ed
CUDA: Mult-Config Ninja generator now supports CUDA
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4187
2020-01-14 15:11:35 -05:00
Cristian Adam
274a6f3699
Unity Build: include language in generated source file name
...
Fixes : #20206
2020-01-14 18:48:08 +01:00
Brad King
d1976cd1f2
CTest: Fix timeout when grandchild keeps pipes open
...
When a test's process creates its own child and exits, the grandchild
may keep pipes open. Fix CTest logic to correctly timeout if the
grandchild does not exit and close the pipes before the timeout expires.
This was broken by commit b5e21d7d2e
(CTest: Re-implement test process
handling using libuv, 2017-12-10, v3.11.0-rc1~117^2) which added an
unnecessary condition to the timeout handling.
Fixes : #20116
2020-01-14 10:29:05 -05:00
Brad King
a2a91eb141
Merge topic 'cross-ninja-improve-error-handling'
...
ca9100c5ce
Ninja Multi-Config: Improve error handling when not doing cross-config build
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4214
2020-01-14 09:03:09 -05:00
Brad King
e74049b388
Merge topic 'vs-Fortran-link-flags' into release-3.16
...
a3c827b2ea
VS: Add Fortran link flag table entries for /OPT:*
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4210
2020-01-14 09:01:21 -05:00
Brad King
c42ade942d
Merge topic 'vs-Fortran-link-flags'
...
a3c827b2ea
VS: Add Fortran link flag table entries for /OPT:*
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4210
2020-01-14 09:01:21 -05:00
Brad King
47dac86c08
Merge topic 'xcode-default-warnings'
...
b7b8331d68
Xcode: Drop hard-coded default warning flags like -Wmost
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4213
2020-01-14 08:59:37 -05:00
Tim Blechmann
22f38c0d6b
cmake: avoid getcwd in CollapseFullPath
...
`CollapseFullPath` calls getcwd, which is a rather expensive system
call. we can replace it with `GetHomeOutputDirectory()` to save us from
the calling overhead
2020-01-14 18:20:39 +08:00
Marc Chevrier
328f586be7
cmAlgorithms.h: remove obsolete helpers
2020-01-14 11:03:09 +01:00
Marc Chevrier
f466cea3c9
cmMakefile: modernize memory management
2020-01-14 11:03:07 +01:00
Kitware Robot
2d5e9f3d8c
CMake Nightly Date Stamp
2020-01-14 00:01:16 -05:00
Robert Maynard
c7ac13e8ed
CUDA: Mult-Config Ninja generator now supports CUDA
2020-01-13 12:50:37 -05:00
Kyle Edwards
ca9100c5ce
Ninja Multi-Config: Improve error handling when not doing cross-config build
2020-01-13 11:58:07 -05:00
Brad King
b7b8331d68
Xcode: Drop hard-coded default warning flags like -Wmost
...
The `-Wmost` flag was added by commit 97a51d2172
(ENH: add more xcode
stuff, 2005-01-27, v2.4.0~2396), along with a couple others, as part of
very early work on the Xcode generator. I suspect that the flags were
part of Xcode's project creation wizard. However, they are not
appropriate for CMake-based projects because we already have our own
mechanisms for specifying flags desired by the project or user.
Simply drop the flags.
Fixes : #13516
2020-01-13 11:45:23 -05:00
Pavel Liavonau
a3c827b2ea
VS: Add Fortran link flag table entries for /OPT:*
...
Fixes : #20190
2020-01-13 11:14:00 -05:00
Brad King
4bac5b628e
Merge topic 'target_compile_options-BEFORE-keyword'
...
2678e31053
target_compile_options: ensure BEFORE keyword is handled in all scopes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4203
2020-01-13 10:38:00 -05:00
Brad King
041e58d195
Merge topic 'ninja-cross-build-disable'
...
e8032e202e
Ninja Multi-Config: Make cross-config building opt-in
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4205
2020-01-13 10:34:18 -05:00
Brad King
1631db97ec
Merge topic 'std-string'
...
93e9d10c7f
cmCacheManager: more members use std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4186
2020-01-13 10:31:56 -05:00
Brad King
95e3c8b440
Merge topic 'refactoring-STL-erase_if'
...
968477517e
Refactoring: suppress cmEraseIf in favor of cm::erase_if
348b60d19d
STL support: add c++20 std::erase and std::erase_if functions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Rejected-by: Leonid Pospelov <pospelovlm@yandex.ru>
Merge-request: !4192
2020-01-13 10:31:05 -05:00
Brad King
9a5d399725
Merge topic 'out-of-dir-link-keyword'
...
09721ca078
target_link_libraries: Fix out-of-dir calls with debug/optimized keywords
c40229968c
target_link_libraries: Add FIXME comment for out-of-dir genex list
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4202
2020-01-13 10:29:10 -05:00
Brad King
e8462a105e
Merge topic 'fix-cpack-deb-description-file' into release-3.16
...
d491f34a5e
CPack: Fix regression in DEB generator description
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4204
2020-01-13 10:23:26 -05:00
Brad King
e61c2ed9ac
Merge topic 'fix-cpack-deb-description-file'
...
d491f34a5e
CPack: Fix regression in DEB generator description
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4204
2020-01-13 10:23:26 -05:00
Brad King
b1a9d49a69
Merge topic 'objc-visibility-inlines' into release-3.16
...
7347e2f830
ObjC: Add VISIBLITY_INLINES_HIDDEN support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4199
2020-01-13 10:22:06 -05:00
Brad King
24d143e0f6
Merge topic 'objc-visibility-inlines'
...
7347e2f830
ObjC: Add VISIBLITY_INLINES_HIDDEN support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4199
2020-01-13 10:22:06 -05:00
Kitware Robot
e4c0711602
CMake Nightly Date Stamp
2020-01-13 00:01:10 -05:00
Kitware Robot
26e9e091c1
CMake Nightly Date Stamp
2020-01-12 00:01:08 -05:00
Kitware Robot
ea851fbe44
CMake Nightly Date Stamp
2020-01-11 00:01:18 -05:00
Marc Chevrier
2678e31053
target_compile_options: ensure BEFORE keyword is handled in all scopes
...
Fixes : #20200
2020-01-11 01:25:25 +01:00
Kyle Edwards
d491f34a5e
CPack: Fix regression in DEB generator description
...
Fixes : #20102
2020-01-10 17:22:52 -05:00
Kyle Edwards
e8032e202e
Ninja Multi-Config: Make cross-config building opt-in
...
Many users will want to use the Ninja Multi-Config generator like a
traditional Visual Studio-style multi-config generator, which doesn't
mix configurations - custom commands are built using target executables
of the same configuration the command is for. We do not want to force
these people to generate an N*N build matrix when they only need N*1,
especially if they have lots of targets. Add a new variable,
CMAKE_NINJA_CROSS_CONFIG_ENABLE, to opt-in to the cross-config build
matrix.
2020-01-10 16:31:29 -05:00
Kyle Edwards
78f9c9dd0e
Merge topic 'nsis-headerimage'
...
ebfffc609e
CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4157
2020-01-10 13:48:47 -05:00
Brad King
2ee6baef4f
Merge topic 'ninja-postgen-commands'
...
fb18215904
Ninja: clean ninja metadata once generated
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Jan Niklas Hasse <jhasse@bixense.com>
Merge-request: !3316
2020-01-10 13:30:35 -05:00
Brad King
9fa8b7d5dd
Merge topic 'cuda-device-link-only-cuda' into release-3.16
...
7ffa42288e
Merge branch 'backport-3.15-cuda-device-link-only-cuda'
071c4f1a2a
CUDA: Do not device link if target has no CUDA usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4191
2020-01-10 13:21:12 -05:00
Brad King
4a010ee52b
Merge topic 'cuda-device-link-only-cuda'
...
01c90d76a1
Merge branch 'backport-3.16-cuda-device-link-only-cuda'
7ffa42288e
Merge branch 'backport-3.15-cuda-device-link-only-cuda'
071c4f1a2a
CUDA: Do not device link if target has no CUDA usage
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4191
2020-01-10 13:21:12 -05:00
Brad King
eb672da7d4
Merge topic 'objc-compiler-launcher'
...
f6ef6e5a73
Merge branch 'backport-3.16-objc-compiler-launcher'
1a9f6bad98
ObjC: Add _COMPILE_LAUNCHER support
a05b9d4239
ObjC: Add _COMPILE_LAUNCHER support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4189
2020-01-10 13:18:35 -05:00
Brad King
fc94de6897
Merge topic 'custom-target-FOLDER'
...
353405daef
Add support for FOLDER target property to custom targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4193
2020-01-10 13:17:28 -05:00
Brad King
18e97c00f4
Merge topic 'reduce_verbosity_find_package_debug_mode'
...
6c92df382f
find_package: Improve debug logging output
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4175
2020-01-10 13:16:30 -05:00
Brad King
09721ca078
target_link_libraries: Fix out-of-dir calls with debug/optimized keywords
...
In commit a1ad0a699b
(target_link_libraries: Allow use with targets in
other directories, 2018-09-07, v3.13.0-rc1~94^2) we added use of `<...>`
to encode a directory id, but the closing `>` can incorrectly terminate
a surrounding generator expression early. Encode the directory id using
`(...)` instead.
Fixes : #20202
2020-01-10 11:40:34 -05:00
Brad King
c40229968c
target_link_libraries: Add FIXME comment for out-of-dir genex list
...
Issue: #20204
2020-01-10 11:40:18 -05:00
Cristian Adam
7347e2f830
ObjC: Add VISIBLITY_INLINES_HIDDEN support
...
Fixes : #20193
2020-01-10 16:31:27 +01:00
Kitware Robot
ee20c0ebf4
CMake Nightly Date Stamp
2020-01-10 00:01:16 -05:00
Cristian Adam
1a9f6bad98
ObjC: Add _COMPILE_LAUNCHER support
...
Fixes : #20178
2020-01-09 13:52:37 -05:00
Luca Cappa
353405daef
Add support for FOLDER target property to custom targets
...
Fixes : #18372
2020-01-09 11:55:12 -05:00
Cristian Adam
a05b9d4239
ObjC: Add _COMPILE_LAUNCHER support
...
Fixes : #20178
2020-01-09 11:35:23 -05:00
Brad King
01c90d76a1
Merge branch 'backport-3.16-cuda-device-link-only-cuda'
2020-01-09 11:21:09 -05:00
Brad King
7ffa42288e
Merge branch 'backport-3.15-cuda-device-link-only-cuda'
2020-01-09 11:13:51 -05:00
Robert Maynard
071c4f1a2a
CUDA: Do not device link if target has no CUDA usage
...
When CUDA is enabled, and a pure non-CUDA target has
CMAKE_CUDA_SEPARABLE_COMPILATION enabled, don't actually perform
the device linking step, as it will fail. A target that has
CMAKE_CUDA_SEPARABLE_COMPILATION enabled must also have CUDA
usage (either itself, or something it links to).
Fixes : #20182
2020-01-09 11:02:17 -05:00
Marc Chevrier
968477517e
Refactoring: suppress cmEraseIf in favor of cm::erase_if
2020-01-09 11:19:20 +01:00
Kitware Robot
428b38bb21
CMake Nightly Date Stamp
2020-01-09 00:01:15 -05:00
Marc Chevrier
d020ed99e9
Merge topic 'modernize-memory-management'
...
a00960288b
GlobalGenerator family: modernize memory management
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4181
2020-01-08 11:32:59 -05:00
Kitware Robot
75dfba223f
CMake Nightly Date Stamp
2020-01-08 00:01:08 -05:00
Marc Chevrier
a00960288b
GlobalGenerator family: modernize memory management
2020-01-07 11:03:11 +01:00
Kitware Robot
e353d8bd9b
CMake Nightly Date Stamp
2020-01-07 00:01:12 -05:00
Marc Chevrier
9abe670cd7
Merge topic 'clang-format-headers-sort'
...
a8aa89352a
clang-format: fix erroneous handling of header <queue>
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4182
2020-01-06 12:44:49 -05:00
Ben Boeckel
fb18215904
Ninja: clean ninja metadata once generated
...
Fixes : #15830
2020-01-06 11:57:08 -05:00
Kyle Edwards
e1f632cea0
Merge topic 'autogen_hh_headers'
...
9eab3cad6a
Tests: Add AUTOGEN policy CMP0100 test
8c2be3ae94
Tests: Restore Autogen/SameName .hh header test
abad139c99
Autogen: Process .hh headers based on new policy CMP0100 settings
4db1463e05
Autogen: Try adding header suffix to moc output file name on name conflicts
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4170
2020-01-06 11:39:29 -05:00
Marc Chevrier
a8aa89352a
clang-format: fix erroneous handling of header <queue>
...
The rule Regex: '^<' was not applied to this header because a more specific one applies: Regex: '^(<|")Qt?[A-Z]' used for Qt headers (rules are not case-sensitive). So adding a specific rule for this header before the Qt rule is required.
2020-01-06 17:33:45 +01:00
Vitaly Stakhovsky
93e9d10c7f
cmCacheManager: more members use std::string
2020-01-06 00:26:28 -05:00
Kitware Robot
b67c53dddf
CMake Nightly Date Stamp
2020-01-06 00:01:08 -05:00
Kitware Robot
3f8be0ad66
CMake Nightly Date Stamp
2020-01-05 00:01:07 -05:00
Sebastian Holtermann
abad139c99
Autogen: Process .hh headers based on new policy CMP0100 settings
...
Reintroduces .hh header processing in AUTOMOC and AUTOUIC based on the new
policy CMP0100 setting.
Fixes : #13904 CMAKE_AUTOMOC misses headers with ".hh" extension
2020-01-04 11:33:04 +01:00
Sebastian Holtermann
4db1463e05
Autogen: Try adding header suffix to moc output file name on name conflicts
...
In AUTOGEN, this changes the moc output file name computation on output name
conflicts to first try to add the header suffix to the moc output base name.
When that still conflicts, we try adding a range of sequential numbers.
If we still can't find an unique output name, we raise an error.
2020-01-04 11:32:14 +01:00
Kitware Robot
85287ff10d
CMake Nightly Date Stamp
2020-01-04 00:01:15 -05:00
Kyle Edwards
e7675acacb
Merge topic 'add_target_deprecation'
...
c621839bd9
Add set_property option: DEPRECATION
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Daniele E. Domenichelli <ddomenichelli@drdanz.it>
Merge-request: !4128
2020-01-03 11:30:48 -05:00
Marc Chevrier
e7f3db6463
Merge topic 'cmstate-std-string'
...
232d5bc333
cmState: more members will use std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4164
2020-01-03 04:51:25 -05:00
Kitware Robot
19c2763a21
CMake Nightly Date Stamp
2020-01-03 00:01:15 -05:00
Joseph Snyder
c621839bd9
Add set_property option: DEPRECATION
...
Add a new property flag for a target which contains a message regarding
deprecation status.
Add a warning at "Generate" time if a linked target is marked as
deprecated.
Expand ExportImport test to ensure that new property is being set and
passed correctly. Ensure that the message is shown during the
"Generate" step run of the ExportImport test.
2020-01-02 17:11:31 -05:00
Johnny Jazeix
ebfffc609e
CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP
...
Fixes : #20120
2020-01-02 22:27:31 +01:00
Vitaly Stakhovsky
232d5bc333
cmState: more members will use std::string
2020-01-02 07:56:34 -05:00
Marc Chevrier
47a907413b
Merge topic 'modernize-memory-management'
...
5444a8095d
cmGlobalGenerator: modernize memrory managemenbt
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4166
2020-01-02 05:23:32 -05:00
Kitware Robot
9c3a0c3e1d
CMake Nightly Date Stamp
2020-01-02 00:01:09 -05:00
Robert Maynard
6c92df382f
find_package: Improve debug logging output
...
The find_package debug log messages are now easier to read when enabled by the
`--debug-find` command-line option or `CMAKE_FIND_DEBUG_MODE` variable.
2020-01-01 15:00:42 -05:00
Kitware Robot
23e782ce05
CMake Nightly Date Stamp
2020-01-01 00:01:10 -05:00
Kitware Robot
a07134e339
CMake Nightly Date Stamp
2019-12-31 00:01:09 -05:00
Marc Chevrier
5444a8095d
cmGlobalGenerator: modernize memrory managemenbt
2019-12-30 16:55:39 +01:00
Kitware Robot
b52962bd61
CMake Nightly Date Stamp
2019-12-30 00:01:09 -05:00
Kitware Robot
15526d4b10
CMake Nightly Date Stamp
2019-12-29 00:01:12 -05:00
Craig Scott
da9cbeb3e9
Merge topic 'ctest-resource-allocation-spec-message'
...
b393b32b4b
CTest: Improve error handling when reading resource spec file
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4162
2019-12-28 19:03:00 -05:00
Kitware Robot
35cc607249
CMake Nightly Date Stamp
2019-12-28 00:01:16 -05:00
Kyle Edwards
b393b32b4b
CTest: Improve error handling when reading resource spec file
...
Fixes : #20079
2019-12-27 10:53:52 -05:00
Kyle Edwards
bb811568cc
Merge topic 'traceJSON'
...
e113ab1168
trace: Add test for the JSON-v1 trace
482497e0de
trace: Add JSON output format
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4102
2019-12-27 10:53:13 -05:00