summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update links to gitlab.kitware.com repos to add `-/`Brad King2020-05-2624-35/+35
| | | | | | GitLab now uses a `/-/` component between the `group/project` part of the URL and the `{issues,merge_requests,tree}` part so that it can support `group/subgroup/project` with arbitrary depth.
* Merge topic 'reduce-initial-checks'Brad King2020-05-267-259/+266
|\ | | | | | | | | | | | | | | 1d21dd0f7c enable_language: Assume compiler works if ABI detection compiles 7a01250581 CMakeDetermineCompilerABI: Fold copy error into CMAKE_<LANG>_ABI_COMPILED Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4789
| * enable_language: Assume compiler works if ABI detection compilesBrad King2020-05-256-258/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We run a `try_compile` with a tiny test source to check if the compiler works so that we can fail early if it does not. When the compiler does work, we immediately `try_compile` the ABI detection source. In the common case that both steps work, we gain no useful information from the first one and the work was wasted. Re-order the checks to try the ABI detection first. If it works then assume the compiler works and skip the dedicated check. If the ABI check fails then proceed with the normal test for a working compiler so the diagnostic can be shown as before. Fixes: #18703
| * CMakeDetermineCompilerABI: Fold copy error into CMAKE_<LANG>_ABI_COMPILEDBrad King2020-05-251-1/+4
| |
* | Merge topic 'liblzma-reduce-checks'Brad King2020-05-262-204/+26
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | d8359713e5 liblzma: Assume 'string.h' exists 12e7bfcbf4 liblzma: Use KWIML to get fixed-size integer types 3cd5ed7cb1 liblzma: Drop unused code providing uintmax_t and intmax_t Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4790
| * | liblzma: Assume 'string.h' existsBrad King2020-05-251-1/+1
| | |
| * | liblzma: Use KWIML to get fixed-size integer typesBrad King2020-05-252-187/+25
| | |
| * | liblzma: Drop unused code providing uintmax_t and intmax_tBrad King2020-05-252-16/+0
| |/ | | | | | | The lzma library code we use within CMake does not need these.
* | Merge topic 'cuda-clang-pthreads'Brad King2020-05-262-3/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | 80d37167fe Find{Threads,MPI}: Add support for CUDA with Clang Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !4781
| * | Find{Threads,MPI}: Add support for CUDA with ClangTobias Ribizel2020-05-252-3/+3
| | | | | | | | | | | | | | | | | | Currently CMake passes `-Xcompiler -pthread` flags to CUDA compilers irrespective of the actual CUDA compiler ID. This makes sure the additional `-Xcompiler` flag is only used with nvcc.
* | | Merge topic 'xerces-cygwin-library-naming'Brad King2020-05-261-2/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b59c127df2 FindXercesC: Find Cygwin libraries Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4783
| * | | FindXercesC: Find Cygwin librariesRoger Leigh2020-05-231-2/+6
| | | |
* | | | Merge topic 'gitlab-ci-run-when-merged'Brad King2020-05-261-13/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d8fb1ffc9c gitlab-ci: use rules to only be manual on a merge request Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4791
| * | | | gitlab-ci: use rules to only be manual on a merge requestBen Boeckel2020-05-261-13/+26
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2020-05-261-1/+1
|/ / / /
* | | | Merge topic 'fetchcontent-externalproject-empty-args'Craig Scott2020-05-2511-94/+235
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8dca6bd04b FetchContent: Preserve empty string arguments cbf2daeed0 ExternalProject: Preserve empty string arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4729
| * | | | FetchContent: Preserve empty string argumentsCraig Scott2020-05-235-21/+67
| | | | | | | | | | | | | | | | | | | | Fixes: #20579
| * | | | ExternalProject: Preserve empty string argumentsCraig Scott2020-05-236-73/+168
| | | | |
* | | | | Merge branch 'release-3.17'Brad King2020-05-250-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge topic 'doc-updates' into release-3.17Brad King2020-05-252-7/+9
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b3e4fb5144 Help: clarify add_definitions() and add_compile_definitions() behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4786
* | \ \ \ \ \ Merge topic 'doc-updates'Brad King2020-05-252-7/+9
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | / | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | b3e4fb5144 Help: clarify add_definitions() and add_compile_definitions() behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4786
| * | | | | Help: clarify add_definitions() and add_compile_definitions() behaviorMarc Chevrier2020-05-242-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20736
* | | | | | Merge topic 'gitlab-ci-regular-builders'Brad King2020-05-2522-64/+495
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b566f0b308 gitlab-ci: add windows builder 5b564c371e gitlab-ci: add Windows infrastructure 809f9a9916 gitlab: add powershell scripts for utilities 02c56b71a1 gitlab-ci: add a macos builder a1b1fc611b gitlab-ci: add Linux makefiles and ninja builders 3e1a1ba92d ci: add dependencies for the test suite to the Fedora image d5438f783a ci: add make to the CI image 0ed7e424ab gitlab-ci: use the cmake_build_unix anchor ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4723
| * | | | | gitlab-ci: add windows builderBen Boeckel2020-05-222-0/+29
| | | | | |
| * | | | | gitlab-ci: add Windows infrastructureBen Boeckel2020-05-222-2/+81
| | | | | |
| * | | | | gitlab: add powershell scripts for utilitiesBen Boeckel2020-05-224-0/+66
| | | | | |
| * | | | | gitlab-ci: add a macos builderBen Boeckel2020-05-226-34/+164
| | | | | |
| * | | | | gitlab-ci: add Linux makefiles and ninja buildersBen Boeckel2020-05-226-1/+154
| | | | | |
| * | | | | ci: add dependencies for the test suite to the Fedora imageBen Boeckel2020-05-221-0/+5
| | | | | |
| * | | | | ci: add make to the CI imageBen Boeckel2020-05-221-1/+2
| | | | | |
| * | | | | gitlab-ci: use the cmake_build_unix anchorBen Boeckel2020-05-221-41/+3
| | | | | |
| * | | | | CTestCustom: ignore expat having symbol-less objects tooBen Boeckel2020-05-221-0/+1
| | | | | |
| * | | | | Tests/CPackWiXGenerator: support suppressing verificationBen Boeckel2020-05-222-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Verification requires access to an active Windows session which may not be the case in all testing environments.
| * | | | | Tests/CPackWiXGenerator; support non-interactive sessionsBen Boeckel2020-05-221-0/+3
| | | | | |
| * | | | | Tests/RunCMake/export: handle collapsed newlinesBen Boeckel2020-05-221-2/+1
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | When the build path is long with a space near the line length, a newline is lost.
* | | | | Merge topic 'CheckLinkerFlag-module'Brad King2020-05-2514-0/+145
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af96c0f4fa CheckLinkerFlag: Add module to check validity of linker flags 3c4cc77d55 Tests: Extend Fortran compiler information Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4777
| * | | | | CheckLinkerFlag: Add module to check validity of linker flagsMarc Chevrier2020-05-2513-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #15934
| * | | | | Tests: Extend Fortran compiler informationMarc Chevrier2020-05-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fill variable `CMake_Fortran_COMPILER_ID`.
* | | | | | Merge topic 'ep-git-update-strategy'Brad King2020-05-254-174/+309
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0aea435aa1 ExternalProject: Provide choice of git update strategies ea410414c5 ExternalProject: factor out gitupdate step to separate file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4239
| * | | | | | ExternalProject: Provide choice of git update strategiesCraig Scott2020-05-234-20/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #16528 Co-Authored-By: Michael Wake <macwake@gmail.com>
| * | | | | | ExternalProject: factor out gitupdate step to separate fileCraig Scott2020-05-232-163/+170
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The refactoring exposed that the original implementation was referring to an undefined variable src_name, which was previously only used in error messages. This has been fixed as part of the refactoring work. Fixes: #20336
* | | | | | Merge topic 'fileApiAddPrecompileHeadersBacktrace'Brad King2020-05-2514-8/+712
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9f6d40ee23 fileapi: Extend codemodel targets with PRECOMPILE_HEADERS b698764a31 Tests: Add a PCH example to RunCMake.FileAPI codemodel-v2 b3812c0e54 Tests: Fix indentation in RunCMake.FileAPI cxx_exe.json 9c48804b69 PCH: Fix source group of per-architecture PCH headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4684
| * | | | | | fileapi: Extend codemodel targets with PRECOMPILE_HEADERSJustin Goshi2020-05-229-3/+218
| | | | | | |
| * | | | | | Tests: Add a PCH example to RunCMake.FileAPI codemodel-v2Justin Goshi2020-05-228-2/+491
| | | | | | |
| * | | | | | Tests: Fix indentation in RunCMake.FileAPI cxx_exe.jsonBrad King2020-05-221-2/+2
| | | | | | |
| * | | | | | PCH: Fix source group of per-architecture PCH headersBrad King2020-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit f593b354da (PCH: Add support for multi architecture iOS projects, 2020-04-02) we forgot to update our regex that assigns PCH headers to the `Precompile Header File` source group to account for the `_<arch>` suffix that can now appear on their name.
* | | | | | | Merge topic 'FindSquish_settingsgroup_removal'Brad King2020-05-254-16/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8492ac1363 FindSquish: Remove settingsGroup argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4763
| * | | | | | | FindSquish: Remove settingsGroup argumentFrederik Gladhorn2020-05-194-16/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This argument never worked and was not passed on Windows, which is why the Windows version needs fewer fixups (and used to work independent of this change). On Linux (and macOS) it was passed and prevented the server from starting and the test would not be able to run. See also comments on https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4648
* | | | | | | | Merge topic 'curl-send-recv'Brad King2020-05-251-0/+17
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0a46eb11af curl: Avoid checking 'send' and 'recv' signatures Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4767
| * | | | | | | | curl: Avoid checking 'send' and 'recv' signaturesBrad King2020-05-201-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cURL detects the `send` and `recv` signatures using a large loop of `try_compile` checks. The results are used for the following: * Casting argument types in calls to `send` and `recv`, perhaps to avoid conversion warnings. We compile with `-w` anyway. * Providing debug variants for `CURLDEBUG`, which we do not use. Replace the detection loops with hard-coded results that should work well enough everywhere. This significantly reduces the number of configure-time checks for building CMake on some platforms.