Commit Graph

27441 Commits

Author SHA1 Message Date
Brad King
1df2f8803b Merge topic 'add_custom_command-genex-slash'
c16641607f add_custom_command: Delay slash conversion until after genex evaluation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3791
2019-09-16 10:17:22 -04:00
Brad King
3358871483 Merge topic 'remove-unused-class'
7bf8eb7877 Remove unused cmInstallExportAndroidMKGenerator

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3812
2019-09-16 10:15:37 -04:00
Kitware Robot
bfa2eaa617 CMake Nightly Date Stamp 2019-09-16 00:01:06 -04:00
Kitware Robot
c6ed044319 CMake Nightly Date Stamp 2019-09-15 00:01:05 -04:00
Kitware Robot
80329771fe CMake Nightly Date Stamp 2019-09-14 00:01:05 -04:00
Tushar Maheshwari
7bf8eb7877 Remove unused cmInstallExportAndroidMKGenerator
This class was added by commit 42ce9f1e71 (Add support for creating
prebuilt Android.mk files, 2016-07-12, v3.7.0-rc1~126^2) but not used.
2019-09-13 13:24:45 -04:00
Sebastian Lipponer
c16641607f add_custom_command: Delay slash conversion until after genex evaluation
Generator expressions may contain or produce backslashes.

Fixes: #19553
2019-09-13 10:56:26 -04:00
Brad King
19bcdca93c Merge topic 'target-level-dependencies-via-byproducts'
482d858500 Depend: Add test for target-level dependencies via byproducts
f6574c9a81 Depend: Hook up automatic target-level dependencies via byproducts
2edb0b71ed cmMakefile: Add lookup from source name to targets via byproducts
62d5932389 Refatoring: Extract AnyOutputMatches utility

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3806
2019-09-13 09:56:20 -04:00
Brad King
0b8c0b26ce Merge topic 'cpack-wix-start-menu'
d69457077d CPackWIX: Allow omitting program menu folder and uninstall shortcut

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3802
2019-09-13 09:53:41 -04:00
Brad King
bacb50afa9 Merge topic 'free-free-set-them-free'
a81e9a0ced cmSubdirCommand: Port away from cmCommand
573cd4e4b4 cmSetTestsPropertiesCommand: Port away from cmCommand
95f23ea5d5 cmSetSourceFilesPropertiesCommand: Port away from cmCommand
706400d417 cmRemoveDefinitionsCommand: Port away from cmCommand
7f86990262 cmQTWrapUICommand: Port away from cmCommand
56bfb8de5d cmQTWrapCPPCommand: Port away from cmCommand
83b3f76a3b cmLinkLibrariesCommand: Port away from cmCommand
b85407ae76 cmInstallTargetsCommand: Port away from cmCommand
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3807
2019-09-13 09:52:34 -04:00
Kitware Robot
729c928c7b CMake Nightly Date Stamp 2019-09-13 00:01:11 -04:00
Regina Pfeifer
a81e9a0ced cmSubdirCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
573cd4e4b4 cmSetTestsPropertiesCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
95f23ea5d5 cmSetSourceFilesPropertiesCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
706400d417 cmRemoveDefinitionsCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
7f86990262 cmQTWrapUICommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
56bfb8de5d cmQTWrapCPPCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
83b3f76a3b cmLinkLibrariesCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
b85407ae76 cmInstallTargetsCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
d55319c01d cmInstallProgramsCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
fb5affe085 cmInstallFilesCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
242d876d7b cmIncludeRegularExpressionCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
06a2e764f0 cmIncludeExternalMSProjectCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
b46970cfe9 cmGetTestPropertyCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
0b95c64e43 cmGetTargetPropertyCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
e4c67981ac cmGetSourceFilePropertyCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
36b939db68 cmFLTKWrapUICommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
28cf1271ed cmEnableLanguageCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
41b0d60f48 cmDefinePropertyCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
f717e1fccf cmCreateTestSourceList: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Regina Pfeifer
f0ecb12398 cmBuildCommand: Port away from cmCommand
Ref: #19499
2019-09-12 18:16:17 +02:00
Daniel Eiband
f6574c9a81 Depend: Hook up automatic target-level dependencies via byproducts
Target-level dependencies to utility targets are added from another target if
the other target requires a byproduct of the utility target or if it requires a
byproduct of PRE_BUILD, PRE_LINK, or POST_BUILD build events of a target.

Issue: #19005
2019-09-12 16:03:12 +02:00
Daniel Eiband
2edb0b71ed cmMakefile: Add lookup from source name to targets via byproducts
Given an output source name it is now possible to query which target has a
byproduct of this name or has a PRE_BUILD, PRE_LINK, or POST_BUILD build event
with a byproduct of this name.

In a call to GetSourceFileWithOutput a matching byproduct can now optionally be
returned as fallback if there is no matching output of a custom command.

Default behavior is not changed by this commit.
2019-09-12 16:01:45 +02:00
Daniel Eiband
62d5932389 Refatoring: Extract AnyOutputMatches utility 2019-09-12 15:49:55 +02:00
Alexej Harm
d69457077d CPackWIX: Allow omitting program menu folder and uninstall shortcut 2019-09-12 15:19:01 +02:00
Brad King
9602bcfc62 Merge topic 'compile-msvc-permissive-off'
a3cfb66543 Add compatibility with the cl.exe /permissive- compiler option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3803
2019-09-12 09:16:56 -04:00
Brad King
1a1508c8b8 Merge topic 'modernize-use-auto'
d25a5a7ec9 clang-tidy: modernize-use-auto

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3783
2019-09-12 09:15:38 -04:00
Brad King
d83bff8640 Merge topic 'free-find-commands'
8a18bb7cdf cmFind*: Port away from cmCommand

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3800
2019-09-12 09:14:48 -04:00
Kitware Robot
5bdff30484 CMake Nightly Date Stamp 2019-09-12 00:01:06 -04:00
Brad King
b5b10c8e95 Merge topic 'ctest-no-cmcommand'
cd7d736278 cmCTestTestHandler: Port away from cmCommand

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3795
2019-09-11 11:40:11 -04:00
Brad King
46629d6a49 Merge topic 'fileapiAddMoreBacktraces'
30006e199b fileapi: add backtraces for compile/link options
291c83f063 cmLocalGenerator: Add GetTargetCompileFlags overload with backtraces
8e973b8e8d cmLocalGenerator: Add GetTargetFlags overload with backtraces
4d5bbb7704 cmLocalGenerator: Add GetStaticLibraryFlags overload with backtraces
1f6a436bf4 cmLocalGenerator: Add AddCompileOptions overload with backtraces
5355a60fd0 cmLocalGenerator: Add AppendCompileOptions overload with backtraces
a20d2c85d0 cmLocalGenerator: Add AppendFlags overload with backtraces
b13207910e cmLocalGenerator: Clarify AddCompileOptions filter logic
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3775
2019-09-11 11:38:58 -04:00
Alexej Harm
a3cfb66543 Add compatibility with the cl.exe /permissive- compiler option 2019-09-11 15:26:20 +02:00
Kitware Robot
7f46e4a73a CMake Nightly Date Stamp 2019-09-11 00:01:05 -04:00
Regina Pfeifer
d25a5a7ec9 clang-tidy: modernize-use-auto
Set the MinTypeNameLength option to an impossibly high value in order
to limit the diagnostics to iterators.  Leave new expressions and cast
expressions for later.
2019-09-10 22:21:41 +02:00
Regina Pfeifer
8a18bb7cdf cmFind*: Port away from cmCommand 2019-09-10 22:13:11 +02:00
Brad King
95d4a2d055 Merge topic 'move-setting-GENERATE-upfront'
7569239362 cmMakefile: set GENERATED property of outputs upfront

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3789
2019-09-10 10:59:39 -04:00
Brad King
054d626c9c Merge topic 'MoveIfDifferent'
5b96fd5b81 use cmSystemTools::MoveFileIfDifferent()
5eaf1e1be2 cmSystemTools: introduce MoveFileIfDifferent()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3794
2019-09-10 10:58:53 -04:00
Brad King
bbf48c494a Merge topic 'windows-auto-export-incremental-build'
ff5028c531 Windows: Prevent auto exports to be regenerated on every build

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3750
2019-09-10 10:54:55 -04:00
Justin Goshi
30006e199b fileapi: add backtraces for compile/link options 2019-09-10 10:45:41 -04:00
Justin Goshi
291c83f063 cmLocalGenerator: Add GetTargetCompileFlags overload with backtraces 2019-09-10 10:45:41 -04:00