summaryrefslogtreecommitdiffstats
path: root/Source/cmTargetPropertyComputer.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Allow NO_SYSTEM_FROM_IMPORTED on imported INTERFACE librariesBrad King2016-11-211-0/+1
| | | | | | | | | Imported INTERFACE libraries can specify include directories via `INTERFACE_INCLUDE_DIRECTORIES` so the default behavior of treating them as system include directories applies. Allow users to turn this off by setting `NO_SYSTEM_FROM_IMPORTED` on such targets. Closes: #16443
* Merge topic 'imported-interface-libname'Brad King2016-11-091-1/+3
|\ | | | | | | | | | | | | | | 09cda9d5 Allow imported INTERFACE libraries to specify a link library name 1d1f1eeb cmTarget: Refactor GetMappedConfig to choose location property up front 479932fa cmTarget: Add comment clarifying interface library special case 925e4270 cmTarget: Clarify comments in GetMappedConfig
| * Allow imported INTERFACE libraries to specify a link library nameBrad King2016-11-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an `IMPORTED_LIBNAME[_<CONFIG>]` target property to specify a library name to be placed on the link line in place of an interface library since it has no library file of its own. Restrict use of the property to imported `INTERFACE` libraries. This will be particularly useful for find modules that need to provide imported libraries from system SDKs where the full path to the library file is not known. Now such find modules will be able to provide an imported interface library and set `IMPORTED_LIBNAME` to refer to the SDK library by name. Issue: #15267
* | Fix several include-what-you-use findingsDaniel Pfeifer2016-11-081-6/+5
|/
* Introduce CM_UNORDERED_SETDaniel Pfeifer2016-10-241-11/+2
| | | | | Avoid duplicating switch among std::unordered_set, cmsys::hash_set, and std::set.
* cmState: Move TargetType enum to separate namespaceStephen Kelly2016-10-191-3/+3
|
* cmTargetPropertyComputer: Template some methods on the TargetStephen Kelly2016-10-151-189/+0
| | | | Implement the methods for cmTarget in the cmTarget source.
* cmTargetPropertyComputer: Unify whitelist handling from cmTargetStephen Kelly2016-10-151-0/+16
|
* cmTargetPropertyComputer: Move whitelist check from cmTargetStephen Kelly2016-10-151-1/+30
|
* cmTargetPropertyComputer: Extract into new filesStephen Kelly2016-10-151-0/+243