summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0111
Commit message (Collapse)AuthorAgeFilesLines
* cmTarget: Add a way to represent imported shared library stubsRobert Maynard2023-07-183-7/+7
| | | | | | | | Shared library stubs can be used for linking, but not at runtime. Their role is similar to import libraries on Windows, so represent their location with the `IMPORTED_IMPLIB` target property. Fixes: #24940
* macOS: Allow IMPORTED_LOCATION to be a framework folderKyle Edwards2023-06-232-41/+7
| | | | Issue: #24946
* Add deprecation warnings for policies CMP0114 and belowBrad King2023-02-011-0/+10
| | | | | | | The OLD behaviors of all policies are deprecated, but only by documentation. Add an explicit deprecation diagnostic for policies introduced in CMake 3.19 and below to encourage projects to port away from setting policies to OLD.
* cmTarget: Do not enforce CMP0111 on imported INTERFACE librariesBrad King2020-11-233-5/+7
| | | | | | | | Fix logic added by commit 359c500a24 (cmTarget: Raise error if imported target location is not set, 2020-08-08, v3.19.0-rc1~273^2) to exclude INTERFACE libraries from the policy. They have no location. Fixes: #21470
* Tests: Match RunCMake.CMP0111 stderr more strictlyBrad King2020-11-232-7/+27
|
* CMP0111: Clarify that the new error is on a missing property settingBrad King2020-10-161-9/+12
| | | | The previous wording could be confused with the file missing on disk.
* cmTarget: Raise error if imported target location is not setRaul Tambre2020-08-2110-0/+59
Previously we would synthesize <TARGET_NAME>-NOTFOUND as the location. This would then end up on the link line and cause build failures. Policy CMP0110 is added to control this behaviour. Fixes #19080, #19943.