summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | Help/manual: Update header-only library exampleMartin Duffy2022-04-271-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use target_sources with a named file set for the header-only library example in cmake-buildsystem7. Issue: #23400
* | | | | | | | | Merge topic 'findmpi_dont_variable_lang'Brad King2022-04-281-4/+4
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c9c2e040aa FindMPI: Don't check for variables named the same as the languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7208
| * | | | | | | | FindMPI: Don't check for variables named the same as the languagesRobert Maynard2022-04-261-4/+4
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to see if a language is inside `MPI_FIND_COMPONENTS` not if the variables `C`/`CXX` is set to a positive value.
* | | | | | | | Merge topic 'cuda-arch-verify'Brad King2022-04-285-162/+32
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c267ed205a CUDA: Defer architecture testing to the compiler testing step Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Acked-by: Raul Tambre <raul@tambre.ee> Merge-request: !7202
| * | | | | | | | CUDA: Defer architecture testing to the compiler testing stepBrad King2022-04-255-162/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Verifying the architectures during compiler identification is redundant, and requires a lot more up-front information than we should need. It also causes unsupported architectures to break the compiler id and version detection, so the resulting output from CMake does not report the compiler version, which is useful information to know why the specified architectures are not supported. The "detecting compiler ABI info" and "check for working compiler" steps already pass `CMAKE_CUDA_ARCHITECTURES` into their test projects. Therefore we can just drop the earlier architecture testing. Bad architectures will be reported as a not-working compiler, and the output will include the compiler's error message. This reverts the approach from: * commit 19cc5bc296 (CUDA: Throw error if user-specified architectures don't work, 2020-05-26, v3.18.0-rc1~79^2) * commit 650c1029a0 (CUDA: Detect non-working user-specified architectures on NVCC, 2020-05-28, v3.18.0-rc1~51^2) * commit 01428c5560 (CUDA: Fail fast if CMAKE_CUDA_ARCHITECTURES doesn't work during detection, 2020-08-29, v3.19.0-rc1~241^2). Their goal was in part to avoid waiting until the test for working compiler to detect unsupported architectures. However, experience has shown that failing earlier is more trouble than it's worth. Fixes: #23161 Issue: #20756
* | | | | | | | | Merge topic 'enum_set-container'Marc Chevrier2022-04-284-0/+603
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b13eef5a90 cm::enum_set: container that contains a set of unique enum values. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7212
| * | | | | | | | | cm::enum_set: container that contains a set of unique enum values.Marc Chevrier2022-04-274-0/+603
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | The enum must be an `enum class` with an unsigned integer as base type.
* | | | | | | | | CMake Nightly Date StampKitware Robot2022-04-281-1/+1
|/ / / / / / / /
* | | | | | | | Merge topic 'automoc-rsp'Brad King2022-04-273-0/+63
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1c9cead051 AUTOMOC: Automatically use options file for moc compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7201
| * | | | | | | AUTOMOC: Automatically use options file for moc compilerDaniel Gehriger2022-04-263-0/+63
| | | | | | | |
* | | | | | | | Merge topic 'FindThreads-cleanup'Brad King2022-04-271-37/+39
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c53748a377 FindThreads: Factor out helper macro for libc check 564385194b FindThreads: Avoid repeating check for -pthread flag 41ef904e81 FindThreads: Simplify conditions for not-in-libc checks cbe7550d99 FindThreads: Remove unnecessary condition 1ee8c545dd FindThreads: Clarify internal helper macro names 5b5cd92363 FindThreads: Drop strange SunOS+pthread.h+thr_create combination c9bd462c08 FindThreads: Drop unused internal CMAKE_HAVE_THREADS_LIBRARY variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Rolf Eike Beer <eike@sf-mail.de> Merge-request: !7207
| * | | | | | | | FindThreads: Factor out helper macro for libc checkBrad King2022-04-261-9/+17
| | | | | | | | |
| * | | | | | | | FindThreads: Avoid repeating check for -pthread flagBrad King2022-04-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When `THREADS_PREFER_PTHREAD_FLAG` is enabled, we check for it before the thread libraries. We do not need to check after them too.
| * | | | | | | | FindThreads: Simplify conditions for not-in-libc checksBrad King2022-04-261-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If `CMAKE_HAVE_LIBC_PTHREAD` is true, we also set `Threads_FOUND` to true, which blocks all the other checks from running.
| * | | | | | | | FindThreads: Remove unnecessary conditionBrad King2022-04-261-26/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `THREADS_HAVE_PTHREAD_ARG` cache entry cannot be defined unless FindThreads has already been executed, perhaps by a previous run of CMake, or a previous `find_package(Threads)` call. In that case, the other alternatives will also already have been checked and results cached.
| * | | | | | | | FindThreads: Clarify internal helper macro namesBrad King2022-04-261-7/+7
| | | | | | | | |
| * | | | | | | | FindThreads: Drop strange SunOS+pthread.h+thr_create combinationBrad King2022-04-261-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solaris has provided pthreads for a long time, so we probably never get to this combination anyway.
| * | | | | | | | FindThreads: Drop unused internal CMAKE_HAVE_THREADS_LIBRARY variableBrad King2022-04-261-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This internal variable has not been used since commit 46368eddfd (FindThreads: move checking of the -pthread compiler flag into a macro, 2014-10-06, v3.1.0-rc1~21^2~2). It has never been documented for public use.
* | | | | | | | | Merge topic 'CUDAToolkit-cupti-include-dirs'Brad King2022-04-273-7/+33
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e6b51a1b01 CUDAToolkit: Add include paths for CUDA::cupti Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !7200
| * | | | | | | | | CUDAToolkit: Add include paths for CUDA::cuptiPeter Bell2022-04-263-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CUDA's cupti library has its headers in a seperate directory on a standard CUDA install, but `CUDA::cupti` only adds the default cuda include directory. Issue: #22761
* | | | | | | | | | Merge topic 'file-set-simplifications'Brad King2022-04-2710-248/+353
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9916d4dd44 cmTarget: factor out fileset type handling 79d6b928a3 RunCMake/target_sources: test `HEADERS` file sets via generic props d74f9599f6 cmTarget: require filesets to be of the right type 5da4fe30a9 cmTarget: factor out fileset property manipulation c89580487b cmTarget: pass candidate strings by const-ref 64ea1a272c messages: remove screamake from comments and errors Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7145
| * | | | | | | | | | cmTarget: factor out fileset type handlingBen Boeckel2022-04-253-136/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for new fileset types to be added more easily by factoring out the declarative information into a structure.
| * | | | | | | | | | RunCMake/target_sources: test `HEADERS` file sets via generic propsBen Boeckel2022-04-252-0/+9
| | | | | | | | | | |
| * | | | | | | | | | cmTarget: require filesets to be of the right typeBen Boeckel2022-04-251-34/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With new types being proposed for C++ modules, requiring filesets to be of the right type is now pertinent. No tests can be added yet as only `HEADERS` is supported right now.
| * | | | | | | | | | cmTarget: factor out fileset property manipulationBen Boeckel2022-04-251-116/+114
| | | | | | | | | | |
| * | | | | | | | | | cmTarget: pass candidate strings by const-refBen Boeckel2022-04-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids having to copy the `std::string` overload.
| * | | | | | | | | | messages: remove screamake from comments and errorsBen Boeckel2022-04-257-17/+17
| | |_|_|/ / / / / / | |/| | | | | | | |
* | | | | | | | | | Merge topic 'tests-no-c++98'Brad King2022-04-277-55/+4
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 61bea8f3c8 Tests: Remove incidental use of C++98 compiler modes 02ec5c4ad2 Tests: Add missing include in sleep sources Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !7206
| * | | | | | | | | | Tests: Remove incidental use of C++98 compiler modesBrad King2022-04-265-55/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several tests specify use of C++98 mode since commit b0f277db38 (HP aCC: record compiler flag for Ansi C++98 support for version 3.80 onwards, 2014-04-15, v3.1.0-rc1~550^2). The motivating use case for those changes was dropped by commit 49640d3629 (HP-UX: Drop support for building CMake on HP-UX, 2017-08-04, v3.10.0-rc1~304^2), so remove the use of C++98 mode too. Also remove code that, on some compilers, used C++11 instead of C++98, because we can now just use their default mode.
| * | | | | | | | | | Tests: Add missing include in sleep sourcesBrad King2022-04-262-0/+4
| | |_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sources that use `atoi` need to include `<stdlib.h>`.
* | | | | | | | | | Merge branch 'release-3.23'Brad King2022-04-270-0/+0
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / | |/| | | | | | | |
| * | | | | | | | | Merge topic 'FindBoost-1.79' into release-3.23Brad King2022-04-271-1/+2
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f90fb73651 FindBoost: Add support for Boost 1.79 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7205
* | \ \ \ \ \ \ \ \ \ Merge topic 'FindBoost-1.79'Brad King2022-04-271-1/+2
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f90fb73651 FindBoost: Add support for Boost 1.79 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7205
| * | | | | | | | | | FindBoost: Add support for Boost 1.79Brad King2022-04-261-1/+2
| |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the list of known versions. Run the command cmake -DBOOST_DIR=/path/to/boost_1_79_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.79.0 source tree. They are the same as 1.78's dependencies, so just update the version check for warning about newer versions. Fixes: #23452
* | | | | | | | | | CMake Nightly Date StampKitware Robot2022-04-271-1/+1
| |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge topic 'target-bundle-dir-name-genex'Brad King2022-04-2612-7/+96
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 997af2e1a6 Genex: Add TARGET_BUNDLE_DIR_NAME 627b2eba6c Help: Make TARGET_BUNDLE[_CONTENT]_DIR examples more precise Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7177
| * | | | | | | | | Genex: Add TARGET_BUNDLE_DIR_NAMEBen Leadbetter2022-04-2212-1/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Evaluate to the name of the bundle directory for a given bundle target. Fixes: #23409
| * | | | | | | | | Help: Make TARGET_BUNDLE[_CONTENT]_DIR examples more preciseBrad King2022-04-221-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `TARGET_BUNDLE_DIR` and `TARGET_BUNDLE_CONTENT_DIR` generator expressions produce absolute paths. Show them in the examples. Suggested-by: Ben Leadbetter <ben.leadbetter@native-instruments.com>
* | | | | | | | | | Merge branch 'release-3.23'Brad King2022-04-260-0/+0
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | |
| * | | | | | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-04-260-0/+0
| |\ \ \ \ \ \ \ \ \
* | \ \ \ \ \ \ \ \ \ Merge branch 'release-3.22'Brad King2022-04-260-0/+0
|\ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | |
| * | | | | | | | | | Merge branch 'release-3.21' into release-3.22Brad King2022-04-260-0/+0
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'ci-xcode-13.3' into release-3.22Brad King2022-04-262-6/+7
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !7204
* | \ \ \ \ \ \ \ \ \ \ \ Merge branch 'release-3.21'Brad King2022-04-260-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Merge branch 'ci-xcode-13.3' into release-3.21Brad King2022-04-262-7/+8
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | Merge-request: !7204
* | | | | | | | | | | | | Merge branch 'release-3.23'Brad King2022-04-260-0/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / / / / / | |/| | | | | | | | | | |
| * | | | | | | | | | | | Merge topic 'ci-xcode-13.3' into release-3.23Brad King2022-04-262-6/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ | | | |/ / / / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65b6daf776 gitlab-ci: update macOS jobs to use Xcode 13.3 94361a1309 Tests: Ignore all classes in Xcode internal objc warnings da9f864513 Tests: Teach RunCMake to ignore Xcode extension point warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7204
* | | | | | | | | | | | | Merge topic 'ci-xcode-13.3'Brad King2022-04-261-6/+6
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65b6daf776 gitlab-ci: update macOS jobs to use Xcode 13.3 94361a1309 Tests: Ignore all classes in Xcode internal objc warnings da9f864513 Tests: Teach RunCMake to ignore Xcode extension point warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7204
| * | | | | | | | | | | | gitlab-ci: update macOS jobs to use Xcode 13.3Brad King2022-04-251-6/+6
| | | | | | | | | | | | |
| * | | | | | | | | | | | Tests: Ignore all classes in Xcode internal objc warningsGregor Jasny2022-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xcode on Apple Silicon warns not only about AMSupportURL classes but also many more.