diff options
author | Vedran Vujinovic <vedran.vujinovic@gmail.com> | 2019-09-04 09:11:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-19 15:47:15 (GMT) |
commit | acdb326610416ea3a559740fa79ad807a44838ee (patch) | |
tree | 5726036312ab20f743f38db40ffb8f3b24dec6bb /Tests/RunCMake/Framework | |
parent | 9c31d83aa2a3d3f5921f4a5a559e126e285b96c5 (diff) | |
download | CMake-acdb326610416ea3a559740fa79ad807a44838ee.zip CMake-acdb326610416ea3a559740fa79ad807a44838ee.tar.gz CMake-acdb326610416ea3a559740fa79ad807a44838ee.tar.bz2 |
VS: Do not reference output assemblies of targets with no output
Our logic that sets `ReferenceOutputAssembly` in `ProjectReference` has
accumulated a series of conditions for different cases in which the
referenced target has no output. Simplify the condition to check
`GetManagedType` directly for cases with no output.
This will explicitly turn off `ReferenceOutputAssembly` in
`ProjectReference` for utility (i.e. `add_custom_target`) and special
targets (i.e. `ZERO_CHECK`, etc.), and allowing reference of target
dependencies that produce some output.
Fixes: #19665
Diffstat (limited to 'Tests/RunCMake/Framework')
0 files changed, 0 insertions, 0 deletions