summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/alias_targets/imported-target-stderr.txt
Commit message (Collapse)AuthorAgeFilesLines
* add_library: Restore error on alias of non-global imported targetBrad King2018-05-101-2/+8
| | | | | | | | | | | In commit v3.11.0-rc1~433^2~1 (Add support for IMPORTED GLOBAL targets to be aliased, 2017-09-14) we accidentally dropped the error on calling `add_library` to alias an imported target that is not globally visible. The `add_executable` command's equivalent check was properly updated. Restore the check in `add_library` with the same update. Also fix the test case accordingly. Fixes: #17982
* Add support for IMPORTED GLOBAL targets to be aliasedDeniz Bahadir2017-10-261-4/+8
| | | | | Issue: #15569 Issue: #17197
* Add the ALIAS target concept for libraries and executables.Stephen Kelly2013-08-021-0/+5
* The ALIAS name must match a validity regex. * Executables and libraries may be aliased. * An ALIAS acts immutable. It can not be used as the lhs of target_link_libraries or other commands. * An ALIAS can be used with add_custom_command, add_custom_target, and add_test in the same way regular targets can. * The target of an ALIAS can be retrieved with the ALIASED_TARGET target property. * An ALIAS does not appear in the generated buildsystem. It is kept separate from cmMakefile::Targets for that reason. * A target may have multiple aliases. * An ALIAS target may not itself have an alias. * An IMPORTED target may not have an alias. * An ALIAS may not be exported or imported.