Paul Seyfert
02ba5d57df
Help: Fix --build-and-test synopsis in ctest(1)
...
The synopsis added by commit 9d3aa95ca4 (Help: Divide ctest(1) manual
options into sections, 2017-11-08, v3.11.0-rc1~359^2~2) is missing the
actual `--build-and-test` argument! Add it now.
2019-02-26 07:37:29 -05:00
Brad King
a0d4430d66
Tests: Restore support for CMake 3.1 through 3.6 with MSVC
...
The change in commit a5dd159990 (Tests: Fix RunCMake.try_compile
CxxStandard case on MSVC, 2017-09-22, v3.10.0-rc1~63^2) introduced use
of `if()` conditions not supported until CMake 3.7, so while it was
intended to restore support for CMake versions prior to 3.9, it actually
only did so for 3.7 and 3.8. Backport the logic to work with CMake 3.1.
Fixes : #18987
2019-02-26 07:35:24 -05:00
Kitware Robot
7c292b37cf
CMake Nightly Date Stamp
2019-02-26 00:01:07 -05:00
Ben Boeckel
f22c18b1c1
ninja: name dyndep internal files using the object file
...
Now that preprocessing outputs are not necessarily used all the way
through, the output name is a better base name to use for these files.
2019-02-25 10:14:11 -05:00
Ben Boeckel
7c78adca8e
cmNinjaTargetGenerator: remove "preprocessed" mentions in dyndep
...
Not all languages compile the preprocessed source (or even have
preprocessed sources at all).
2019-02-25 10:14:11 -05:00
Ben Boeckel
933dd91642
ninja: do not assume explicit preprocessing uses that output
...
In Fortran, this is OK, but for C++, compiling preprocessed source
generally results in poorer diagnostic messages and can also be
ill-formed anyways.
2019-02-25 10:14:11 -05:00
Ben Boeckel
2c0a7bc770
ninja: pass language to cmake_ninja_depends
2019-02-25 10:14:09 -05:00
Ben Boeckel
72f9bb2993
ninja: make dyndep generation language aware
...
A target may have multiple languages with dyndep rules, separate `.dd`
files should be generated.
2019-02-25 10:06:20 -05:00
Ben Boeckel
2dd0cb7aeb
Help: note that Ninja also uses OBJECT_OUTPUTS
2019-02-25 10:06:20 -05:00
Harry Mallon
d3ffe90598
CPackRPM: Fix packaging in folders with ++ in name
...
Construct a regex that can match a path with special characters instead
of treating the path as a regex directly.
Fixes : #18967
2019-02-25 09:46:19 -05:00
Brad King
4d337be994
Merge branch 'qcc-asm-detection' into release-3.14
...
Merge-request: !3016
2019-02-25 09:33:25 -05:00
Brad King
f259e8759c
Merge topic 'gt-shorter-unique-names'
...
3f685ac3e1 Use shorter names in internal TARGET_PROPERTY expressions
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3009
2019-02-25 09:23:17 -05:00
Wil Stark
917c035ada
VS: support suppressing deployment of selected targets
...
Add a `VS_NO_SOLUTION_DEPLOY` target property to explicitly specify for
each target whether to suppress VS solution deployment of the generated
target project.
Fixes : #18953
2019-02-25 09:14:15 -05:00
Brad King
f6eebee194
Merge branch 'upstream-KWSys' into update-kwsys
...
* upstream-KWSys:
KWSys 2019-02-25 (833b2470)
2019-02-25 09:04:03 -05:00
KWSys Upstream
11fe7c9063
KWSys 2019-02-25 (833b2470)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 833b24703f5b45e09193687d56c2cdc5aedf834d (master).
Upstream Shortlog
-----------------
Brad King (1):
363bf5ab Configure: Drop Large File Support macro definitions
2019-02-25 09:04:02 -05:00
Brad King
d9d285c5ad
jsoncpp: Fix include order for build within CMake
...
Include the KWSys `Configure.h` header first to get its large file
support definitions before including system headers.
2019-02-25 08:26:20 -05:00
Brad King
0d489fab19
libuv: fix atomic ops compilation with xlclang
2019-02-25 08:26:20 -05:00
Brad King
1699f5c231
Utilities: Suppress warnings in third-party code when using XLClang
2019-02-25 08:26:17 -05:00
Brad King
f709089d84
XLClang: Extract compiler implicit include directories
2019-02-25 08:24:28 -05:00
Brad King
5c41386357
XLClang: Add policy CMP0089 to present as XL for compatibility
...
We now identify IBM's Clang-based XL compilers, which define
`__ibmxl__`, as `XLClang` rather than `XL`. In order to support
existing project code that checks for `XL`, add a policy whose OLD
behavior is to present the compiler id as `XL` and whose NEW behavior is
to present the compiler id as `XLClang` as we really detect it.
2019-02-25 08:24:28 -05:00
Chuck Atkins
8278237933
XL: Remove overlap with the new XLClang compiler ID
...
In commit 6555286c55 (XL: Add C and C++ language level flags,
2017-04-27, v3.9.0-rc1~184^2) we added support for both the traditional
XL compiler and the Clang-based variant used on Linux. The latter is
now handled by `Modules/Compiler/XLClang-{C,CXX}.cmake` using the
`XLClang` compiler id. Drop the corresponding content from the
traditional XL compiler modules.
2019-02-25 08:24:28 -05:00
Brad King
6f5cf2d2c6
XL: Revert "Recognize compilers identified by __ibmxl__"
...
Revert commit eb1a9be4b6 (XL: Recognize compilers identified by
__ibmxl__, 2018-03-05, v3.11.0-rc3~4^2). It is no longer needed because
we now use `__ibmxl__` to identify with compiler id `XLClang`.
2019-02-25 08:24:28 -05:00
Chuck Atkins
90c6156aa8
XLClang: Add a new compiler ID for the clang-based XL compiler
2019-02-25 08:24:28 -05:00
Brad King
e0231fe439
XL: Look for CreateExportList only on AIX
...
This tool comes with XL on AIX but not on Linux. Move the
infrastructure to find and use it to the AIX-specific modules.
2019-02-25 08:24:27 -05:00
Chuck Atkins
13b1d2f9f8
XL: Record C compiler version that started using C99 by default
2019-02-25 08:24:27 -05:00
Sebastian Holtermann
747463d1b3
Autogen: Move additional source header search to configuration stage
...
The computation of additional source headers and and private headers for
AUTOGEN is moved from the _autogen target to the configuration stage. This
makes them available for _autogen target dependency computations.
Closes : #18949
2019-02-25 08:20:19 -05:00
Sebastian Holtermann
16c687825d
Autogen: Refactor file lists computation
...
In AUTOGEN this replaces simple file name lists with two list (for
headers and sources) of structs with file name and file flags.
The file name lists that are passed to the _autogen target via
AutogenInfo.cmake are filtered from these two lists.
2019-02-25 08:20:19 -05:00
Brad King
f3b4a12c61
Merge topic 'return-explicit-conversion'
...
c7f3663b10 cmServerConnection: make return conversions explicit
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3000
2019-02-25 08:14:21 -05:00
Brad King
40768761b6
Merge topic 'drop-MIPSpro'
...
214fcefa52 Remove now-unused code once used for MIPSpro on IRIX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3004
2019-02-25 08:13:44 -05:00
Brad King
a6cb73b97f
Merge topic 'deprecate-policy-old'
...
02587d80cf Add deprecation warnings for policies CMP0066 and below
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3003
2019-02-25 08:12:54 -05:00
Brad King
a4d99e4dec
Merge topic 'cmrange-improvements'
...
b8031308f3 cmRange: Add unit tests
a8d51ef8b7 cmRange: Add functions filter and transform
da4773e8b8 cmRange: Add functions all_of, any_of, none_of
17a367e77f cmRange: Stylistic cleanup
9eb0e73f46 cmRange: Move to dedicated header file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Artur Ryt <artur.ryt@gmail.com >
Merge-request: !2972
2019-02-25 08:03:01 -05:00
Brad King
94970cd042
Merge topic 'error-consolidate'
...
9dd255548d cmSystemTools::Error: consolidate parameters into single std::string
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2995
2019-02-25 08:02:07 -05:00
Brad King
ac419931ee
Merge topic 'swift-partials'
...
001446126e Ninja: add final placeholders to merge Swift partials
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2998
2019-02-25 08:00:59 -05:00
Brad King
0476d16589
Merge topic 'systools-stdstring3'
...
4e315e9449 cmSystemTools: More functions accept `std::string` params
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2999
2019-02-25 07:59:59 -05:00
Brad King
ae309d757d
Merge branch 'release-3.14'
2019-02-25 07:58:22 -05:00
Brad King
b583e43c26
Merge topic 'releasenotes_arch_independent'
...
47caf146c5 Help: Add release note for new ARCH_INDEPENDENT option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3012
2019-02-25 07:57:23 -05:00
Brad King
224a5c9b07
Merge topic 'docs_try_commands'
...
4d55c1f541 Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
861dbef4e7 Help: Consistency in try_compile() docs for target type
df8aa3c8ad Help: try_compile() readability and grammar improvements
7975edeac5 Help: User-provided variable names for try_* commands
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3013
2019-02-25 07:56:25 -05:00
Brad King
2cc6eedde4
Merge topic 'check_lang_source_runs_output'
...
92d9ec9bfb CheckLangSourceRuns: Capture run output to log files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3011
2019-02-25 07:55:20 -05:00
Brad King
af000abbba
Merge branch 'releasenotes_arch_independent' into release-3.14
...
Merge-request: !3012
2019-02-25 07:54:25 -05:00
Brad King
0e8b0ae636
Merge branch 'docs_try_commands' into release-3.14
...
Merge-request: !3013
2019-02-25 07:54:04 -05:00
Brad King
b3b081ccec
Merge branch 'check_lang_source_runs_output' into release-3.14
...
Merge-request: !3011
2019-02-25 07:53:49 -05:00
Brad King
c068236bb9
Merge topic 'link-options'
...
98a2d42301 PIE link options: No warning when policy CMP0083 is not set.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !2996
2019-02-25 07:51:01 -05:00
Brad King
90323ff051
Merge topic 'remove-exclude-from-all-warning'
...
d3b765d451 EXCLUDE_FROM_ALL: Don't warn if installing target excluded from all
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3002
2019-02-25 07:49:53 -05:00
Brad King
283b8c2ae6
Merge topic 'fix-implicit-includes-fortran'
...
3dc81a48ff Fortran: Do not suppress explicit use of implicit include directories
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.co >
Merge-request: !2994
2019-02-25 07:48:35 -05:00
Regina Pfeifer
b5a69c6279
cmcompress: Delete unused 3rdParty module
2019-02-25 09:36:27 +01:00
Maikel van den Hurk
be87ce43f0
Add ASM Compiler detection for QCC
2019-02-25 08:28:47 +01:00
Kitware Robot
3fff09096a
CMake Nightly Date Stamp
2019-02-25 00:01:05 -05:00
Craig Scott
47caf146c5
Help: Add release note for new ARCH_INDEPENDENT option
2019-02-24 20:05:49 +11:00
Craig Scott
4d55c1f541
Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
2019-02-24 17:23:58 +11:00
Craig Scott
861dbef4e7
Help: Consistency in try_compile() docs for target type
2019-02-24 17:22:53 +11:00