summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/XcodeProject
diff options
context:
space:
mode:
authorVedran Vujinovic <vedran.vujinovic@gmail.com>2019-09-04 09:11:45 (GMT)
committerBrad King <brad.king@kitware.com>2019-09-19 15:47:15 (GMT)
commitacdb326610416ea3a559740fa79ad807a44838ee (patch)
tree5726036312ab20f743f38db40ffb8f3b24dec6bb /Tests/RunCMake/XcodeProject
parent9c31d83aa2a3d3f5921f4a5a559e126e285b96c5 (diff)
downloadCMake-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/XcodeProject')
0 files changed, 0 insertions, 0 deletions