summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-02-231-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2019-02-221-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2019-02-211-1/+1
| | | | | |
* | | | | | Merge topic 'readme-build-out-of-source'Craig Scott2019-02-201-8/+13
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 943a50da55 README: Suggest bootstrapping out-of-source for development Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Bartosz <gang65@poczta.onet.pl> Merge-request: !2993
| * | | | | README: Suggest bootstrapping out-of-source for developmentBrad King2019-02-201-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building in-source and running the test suite in-source both leave many artifacts that we (purposely) do not cover via `.gitignore`. For developing CMake we typically use out-of-source builds, so suggest this in the README.
* | | | | | Merge topic 'cray-cleanup'Brad King2019-02-202-81/+102
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d59159afdb Cray: clean up CrayPrgEnv and CrayLinuxEnvironment modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2945
| * | | | | | Cray: clean up CrayPrgEnv and CrayLinuxEnvironment modulesChuck Cranor2019-02-192-81/+102
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CrayPrgEnv: - add a new function __cmake_craype_linktype() that determines what link mode the Cray compiler wrapper will use in a more sophisticated way than just MATCHing for static/dynamic on the command line. - add a new function __cmake_craype_setupenv() that does a once-per-cmake-run setup that does the following: 1. does a basic check of the wrapper's configuration. Running cmake and then changing module and/or linktype configuration may cause build problems (since the data in the cmake cache may no longer be correct after the change). We look for this and warn the user about it. 2. uses the "module" provided PKG_CONFIG_PATH environment variable to add additional prefixes to the system prefix path. This function used to be done by CrayLinuxEnvironment using the compiler implicit include/link paths but that is intended only for cross-compiling on Cray front-end nodes. Since CrayPrgEnv runs on both front-end and compute nodes, we migrate this function here. CrayLinuxEnvironment: - No need to set variables like CMAKE_SHARED_LIBRARY_PREFIX to values that have already been properly established by CMakeGenericSystem.cmake. Remove redundant sets of CMAKE_SHARED_LIBRARY_PREFIX, CMAKE_SHARED_LIBRARY_SUFFIX, CMAKE_STATIC_LIBRARY_PREFIX, CMAKE_STATIC_LIBRARY_SUFFIX, CMAKE_FIND_LIBRARY_PREFIXES, and CMAKE_DL_LIBS. - No need to add $ENV{SYSROOT_DIR}/usr/include to CMAKE_SYSTEM_INCLUDE_PATH when we already added $ENV{SYSROOT_DIR}/usr to CMAKE_SYSTEM_PREFIX_PATH. - Remove __cray_list_intersect(), __list_clean_dupes(), and buggy code that adds compiler implicit includes/libs to CMAKE_SYSTEM_INCLUDE_PATH and CMAKE_SYSTEM_LIBRARY_PATH. This function has migrated to CrayPrgEnv.cmake, as noted above. See discussion in issue #17413 for additional details.
* | | | | | Merge topic 'list-prepend-and-pop-subcommands'Brad King2019-02-2017-6/+387
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a84e509844 list: add sub-commands PREPEND, POP_BACK, POP_FRONT Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2980