summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Propagate OpenMP compiler flags to linker for IntelLLVMWilliam R. Dieter2022-08-011-1/+2
| | | | | | | When compiling for offload and in general when OpenMP is enabled while compiling, it should also be enabled when linking. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* Tests: Update ModuleDefinition for IntelLLVM MSVC Frontend VariantWilliam R. Dieter2022-08-011-1/+11
| | | | | | | | | | | | | | | IntelLLVM for MSVC uses the compiler for linking. The /DEF flag needs to be passed to the linker, and the compiler does not accept it, unless it is prefixed with `/Qoption,link,`. Rather than explicitly set the LINK_FLAGS target property, as is done for other MSVC frontend variants, add the .def file to the sources for `add_library`. `add_library` will wrap the `/DEF` flag using `CMAKE_${lang}_LINKER_WRAPPER_FLAG`. Presumably, this should work for any MSVC front end, but leave the original test to avoid changing a test that is working. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* IntelLLVM: Pass linker flags to the compiler when used as linkerWilliam R. Dieter2022-08-011-8/+43
| | | | | | | | | | | | | | | | | When linking an executable, DLL, or static library, the compiler sometimes needs to see the linking options. Typically `<FLAGS>` is not passed for linking, because some of the options are only used for compilation. Previously, `<LINK_FLAGS>` was passed after the `/link` flag because the compiler did not understand some of the linking options. This change wraps the initial linker options borrowed from Windows-MSVC individually, so that they are passed directly to the linker. This change is helpful both for interprocedural optimization, which needs to pass `-Qipo` to the compiler at link time, and for SYCL which needs to pass `-fsycl` and possibly other options to the compiler at link time. Signed-off-by: William R. Dieter <william.r.dieter@intel.com>
* Merge branch 'release-3.24'Brad King2022-08-010-0/+0
|\
| * Merge topic 'doc-init-VERIFY_INTERFACE_HEADER_SETS' into release-3.24Brad King2022-08-011-1/+5
| |\ | | | | | | | | | | | | | | | | | | c31f9ef22b Help: Document initialization of VERIFY_INTERFACE_HEADER_SETS property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7528
* | \ Merge topic 'doc-init-VERIFY_INTERFACE_HEADER_SETS'Brad King2022-08-011-1/+5
|\ \ \ | | |/ | |/| | | | | | | | | | | | | c31f9ef22b Help: Document initialization of VERIFY_INTERFACE_HEADER_SETS property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7528
| * | Help: Document initialization of VERIFY_INTERFACE_HEADER_SETS propertyCraig Scott2022-08-011-1/+5
| | | | | | | | | | | | | | | The docs for the CMAKE_VERIFY_INTERFACE_HEADER_SETS variable do mention that it initializes the property, but the property docs didn't mention the variable. Add that missing cross-reference.
* | | Merge branch 'release-3.24'Brad King2022-08-010-0/+0
|\ \ \ | | |/ | |/|
| * | Merge branch 'release-3.23' into release-3.24Brad King2022-08-010-0/+0
| |\ \
* | \ \ Merge branch 'release-3.23'Brad King2022-08-010-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'FindGTest-gmock-needs-gtest' into release-3.23Brad King2022-07-291-1/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !7523
* | \ \ \ Merge branch 'release-3.24'Brad King2022-08-010-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge topic 'FindGTest-gmock-needs-gtest' into release-3.24Brad King2022-08-011-1/+1
| |\ \ \ \ | | | |/ / | | |/| / | | |_|/ | |/| | | | | | | | | | 1aa95e1a3b FindGTest: Create the gmock targets only when GTest has been found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7523
* | | | Merge topic 'FindGTest-gmock-needs-gtest'Brad King2022-08-011-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 1aa95e1a3b FindGTest: Create the gmock targets only when GTest has been found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7523
| * | | FindGTest: Create the gmock targets only when GTest has been foundRobert Maynard2022-07-291-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | When we introduced the `GTest::gmock` and `GTest::gmock_main` targets in commit 50bf457a0d (FindGTest: Add target for gmock library, 2021-10-17, v3.23.0-rc1~321^2) we failed to handle the case where GTest isn't found. Don't construct gmock targets that depend on non-existent gtest targets when gtest failed to be found.
* | | Merge branch 'release-3.24'Craig Scott2022-08-010-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'fetchcontent-url-regression' into release-3.24Craig Scott2022-08-011-29/+42
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fd95769ccf FetchContent: Restore support for multiple URL values Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7522
* | \ \ Merge topic 'fetchcontent-url-regression'Craig Scott2022-08-011-29/+42
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | fd95769ccf FetchContent: Restore support for multiple URL values Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7522
| * | | FetchContent: Restore support for multiple URL valuesCraig Scott2022-07-291-29/+42
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | In c2044fdf3f (FetchContent: Respect the CMP0135 policy setting, 2022-06-02), the URL keyword was wrongly assumed to only have a single value. Multiple URL values are allowed if they are all non-local. Rework the logic to remove that incorrect assumption and handle both single and multi-value URL combinations. Fixes: #23792
* | | CMake Nightly Date StampKitware Robot2022-08-011-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-07-311-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-07-301-1/+1
| | |
* | | Merge topic 'command-arg-parser'Brad King2022-07-297-39/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4368a524c6 cmCMakePathCommand: Enforce non-empty string arguments via binding type 7ca8d9f0f8 cmArgumentParser: Model non-empty strings with wrapper type Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7512
| * | | cmCMakePathCommand: Enforce non-empty string arguments via binding typeBrad King2022-07-283-39/+12
| | | |
| * | | cmArgumentParser: Model non-empty strings with wrapper typeBrad King2022-07-284-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | Some clients have been explicitly checking whether the string specified after a keyword is empty. Offer them a way to specify that the string must be non-empty as part of the binding type.
* | | | Merge topic 'ms-tool-dash-flags'Brad King2022-07-295-7/+23
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9dbcfb8fdd MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command lines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7519
| * | | | MSVC: Recognize -XYZ as well as /XYZ when parsing MS tool command linesDubach, Joev2022-07-275-7/+23
| | | | | | | | | | | | | | | | | | | | Fixes: #23772
* | | | | CMake Nightly Date StampKitware Robot2022-07-291-1/+1
| | | | |
* | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | CMake 3.24.0-rc5v3.24.0-rc5Brad King2022-07-281-1/+1
| | | | |
* | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ | |/ / / /
| * | | | Merge branch 'release-3.23' into release-3.24Brad King2022-07-281-0/+7
| |\ \ \ \ | | | |_|/ | | |/| |
* | | | | Merge branch 'release-3.23'Brad King2022-07-281-0/+7
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | CMake 3.23.3v3.23.3Brad King2022-07-282-1/+8
| | | | |
* | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.23' into release-3.24Brad King2022-07-281-2/+2
| |\ \ \ \ | | |/ / /
* | | | | Merge branch 'release-3.23'Brad King2022-07-280-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.22' into release-3.23Brad King2022-07-281-2/+2
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.22'Brad King2022-07-281-2/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | CMake 3.22.6v3.22.6Brad King2022-07-282-3/+3
| | | | | |
* | | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ | | |_|/ / / | |/| | | |
| * | | | | Merge branch 'release-3.23' into release-3.24Brad King2022-07-280-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | |
* | | | | | Merge branch 'release-3.23'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'release-3.22' into release-3.23Brad King2022-07-280-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| * | | | | Merge branch 'ci-xcode-13.4' into release-3.23Brad King2022-07-281-6/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !7520
* | \ \ \ \ \ Merge branch 'release-3.22'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge branch 'ci-xcode-13.4' into release-3.22Brad King2022-07-281-6/+6
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | Merge-request: !7520
* | | | | | | Merge branch 'release-3.24'Brad King2022-07-280-0/+0
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge topic 'ci-xcode-13.4' into release-3.24Brad King2022-07-281-6/+6
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eddf057830 gitlab-ci: update macOS jobs to use Xcode 13.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7520
* | | | | | | Merge topic 'ci-xcode-13.4'Brad King2022-07-281-6/+6
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | / | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | eddf057830 gitlab-ci: update macOS jobs to use Xcode 13.4 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7520