summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Utilities: Suppress warnings in third-party code when using XLClangBrad King2019-02-258-8/+8
|
* XLClang: Extract compiler implicit include directoriesBrad King2019-02-256-2/+91
|
* XLClang: Add policy CMP0089 to present as XL for compatibilityBrad King2019-02-257-1/+82
| | | | | | | | 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.
* XL: Remove overlap with the new XLClang compiler IDChuck Atkins2019-02-252-60/+14
| | | | | | | | | 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.
* XL: Revert "Recognize compilers identified by __ibmxl__"Brad King2019-02-254-26/+10
| | | | | | 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`.
* XLClang: Add a new compiler ID for the clang-based XL compilerChuck Atkins2019-02-259-0/+95
|
* XL: Look for CreateExportList only on AIXBrad King2019-02-252-22/+22
| | | | | This tool comes with XL on AIX but not on Linux. Move the infrastructure to find and use it to the AIX-specific modules.
* XL: Record C compiler version that started using C99 by defaultChuck Atkins2019-02-251-1/+1
|
* Merge topic 'return-explicit-conversion'Brad King2019-02-251-2/+2
|\ | | | | | | | | | | | | c7f3663b10 cmServerConnection: make return conversions explicit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3000
| * cmServerConnection: make return conversions explicitBen Boeckel2019-02-221-2/+2
| | | | | | | | | | | | GCC 9 warns that `std::move` is not necessary, but in fact it is necessary to call the proper conversion constructor. Make that call explicit.
* | Merge topic 'drop-MIPSpro'Brad King2019-02-2520-51/+12
|\ \ | | | | | | | | | | | | | | | | | | 214fcefa52 Remove now-unused code once used for MIPSpro on IRIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3004
| * | Remove now-unused code once used for MIPSpro on IRIXBrad King2019-02-2120-51/+12
| | | | | | | | | | | | | | | | | | In commit beb991110d (Remove now-unused code once used on IRIX, 2019-01-11, v3.14.0-rc1~167^2) we removed remnants of IRIX support. Also remove remnants of MIPSpro compiler support.
* | | Merge topic 'deprecate-policy-old'Brad King2019-02-253-2/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 02587d80cf Add deprecation warnings for policies CMP0066 and below Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3003
| * | | Add deprecation warnings for policies CMP0066 and belowBrad King2019-02-213-2/+21
| |/ / | | | | | | | | | | | | | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.7 and below to encourage projects to port away from setting policies to OLD.
* | | Merge topic 'cmrange-improvements'Brad King2019-02-2541-78/+324
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | cmRange: Add unit testsRegina Pfeifer2019-02-213-0/+53
| | | |
| * | | cmRange: Add functions filter and transformRegina Pfeifer2019-02-211-0/+132
| | | |
| * | | cmRange: Add functions all_of, any_of, none_ofRegina Pfeifer2019-02-211-0/+19
| | | |
| * | | cmRange: Stylistic cleanupRegina Pfeifer2019-02-211-30/+34
| | | |
| * | | cmRange: Move to dedicated header fileRegina Pfeifer2019-02-2139-78/+116
| | |/ | |/|
* | | Merge topic 'error-consolidate'Brad King2019-02-2528-154/+134
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 9dd255548d cmSystemTools::Error: consolidate parameters into single std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2995
| * | | cmSystemTools::Error: consolidate parameters into single std::stringVitaly Stakhovsky2019-02-2028-154/+134
| | | |
* | | | Merge topic 'swift-partials'Brad King2019-02-253-0/+51
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 001446126e Ninja: add final placeholders to merge Swift partials Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2998
| * | | | Ninja: add final placeholders to merge Swift partialsSaleem Abdulrasool2019-02-203-0/+51
| |/ / / | | | | | | | | | | | | | | | | | | | | This adds the placeholders that are needed to merge the swift partial modules. It permits generating the rules necessary to actually merge the partial modules emitted for a partial compilation.
* | | | Merge topic 'systools-stdstring3'Brad King2019-02-2522-47/+44
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4e315e9449 cmSystemTools: More functions accept `std::string` params Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2999
| * | | | cmSystemTools: More functions accept `std::string` paramsVitaly Stakhovsky2019-02-2022-47/+44
| |/ / /
* | | | Merge branch 'release-3.14'Brad King2019-02-250-0/+0
|\ \ \ \
| * \ \ \ Merge branch 'releasenotes_arch_independent' into release-3.14Brad King2019-02-251-0/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3012
| * \ \ \ \ Merge branch 'docs_try_commands' into release-3.14Brad King2019-02-252-25/+33
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !3013
| * \ \ \ \ \ Merge branch 'check_lang_source_runs_output' into release-3.14Brad King2019-02-252-2/+12
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3011
| * \ \ \ \ \ \ Merge branch 'remove-exclude-from-all-warning' into release-3.14Brad King2019-02-225-20/+14
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3002
| * \ \ \ \ \ \ \ Merge branch 'link-options' into release-3.14Brad King2019-02-202-18/+8
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2996
| * \ \ \ \ \ \ \ \ Merge branch 'fix-implicit-includes-fortran' into release-3.14Brad King2019-02-202-10/+21
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !2994
* | \ \ \ \ \ \ \ \ \ Merge topic 'releasenotes_arch_independent'Brad King2019-02-251-0/+5
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 47caf146c5 Help: Add release note for new ARCH_INDEPENDENT option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3012
| * | | | | | | | | | Help: Add release note for new ARCH_INDEPENDENT optionCraig Scott2019-02-241-0/+5
| | | | | | | | | | |
* | | | | | | | | | | Merge topic 'docs_try_commands'Brad King2019-02-252-25/+33
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | | | Help: Caveat for try_compile() and CMAKE_TRY_COMPILE_PLATFORM_VARIABLESCraig Scott2019-02-241-1/+3
| | | | | | | | | | |
| * | | | | | | | | | Help: Consistency in try_compile() docs for target typeCraig Scott2019-02-241-8/+14
| | | | | | | | | | |
| * | | | | | | | | | Help: try_compile() readability and grammar improvementsCraig Scott2019-02-241-6/+6
| | | | | | | | | | |
| * | | | | | | | | | Help: User-provided variable names for try_* commandsCraig Scott2019-02-242-12/+12
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All uppercase is typically used for command keywords. Non-keyword arguments should generally be shown as `<something>` according to the CMake documentation guide.
* | | | | | | | | | Merge topic 'check_lang_source_runs_output'Brad King2019-02-252-2/+12
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92d9ec9bfb CheckLangSourceRuns: Capture run output to log files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3011
| * | | | | | | | | CheckLangSourceRuns: Capture run output to log filesCraig Scott2019-02-232-2/+12
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | Fixes: #18973
* | | | | | | | | Merge topic 'link-options'Brad King2019-02-252-18/+8
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 98a2d42301 PIE link options: No warning when policy CMP0083 is not set. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2996
| * | | | | | | | PIE link options: No warning when policy CMP0083 is not set.Marc Chevrier2019-02-202-18/+8
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18955
* | | | | | | | Merge topic 'remove-exclude-from-all-warning'Brad King2019-02-255-20/+14
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d3b765d451 EXCLUDE_FROM_ALL: Don't warn if installing target excluded from all Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3002
| * | | | | | | EXCLUDE_FROM_ALL: Don't warn if installing target excluded from allCraig Scott2019-02-215-20/+14
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original warning pre-dates support for install components. There are now legitimate scenarios where an install(TARGETS) command may list a target that is excluded from all, e.g. hierarchical projects that will never install the component such a target belongs to. Fixes: #18938
* | | | | | | Merge topic 'fix-implicit-includes-fortran'Brad King2019-02-252-10/+21
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | Fortran: Do not suppress explicit use of implicit include directoriesBrad King2019-02-202-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 2e91627dea (ParseImplicitIncludeInfo: add Fortran implicit include handling, 2019-01-25, v3.14.0-rc1~73^2) we actually populate `CMAKE_Fortran_IMPLICIT_INCLUDE_DIRECTORIES` for the first time. This value may be useful to project code to pass to other tooling that wants to preprocess the way Fortran does, so we should compute the value. However, compilers like `gfortran` do not actually search their own implicit include directories for `.mod` files. The directories must be passed via `-I` in order for `.mod` files in them to be found. Since Fortran has no standard library header files that we need to avoid overriding, it is safe to *not* filter out implicit include directories from those passed explicitly via `-I` options. Skip this filtering so that include directories specified by project code to find `.mod` files will be searched by the compiler even if they happen to be implicitly searched by the preprocessor. Fixes: #18914
* | | | | | | CMake Nightly Date StampKitware Robot2019-02-251-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-02-241-1/+1
| | | | | | |