summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2018-03-22 16:09:43 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2018-04-24 05:05:17 (GMT)
commit663f5120f4e20ec716c742fea1d35cced3e3871f (patch)
tree514f896db9c075ccf224af6c7af0d292f27c78ba /Source/cmGlobalVisualStudioGenerator.cxx
parent359544a9074a26c3d5d7801932c809048763c341 (diff)
downloadCMake-663f5120f4e20ec716c742fea1d35cced3e3871f.zip
CMake-663f5120f4e20ec716c742fea1d35cced3e3871f.tar.gz
CMake-663f5120f4e20ec716c742fea1d35cced3e3871f.tar.bz2
cmGlobalVisualStudioGenerator: remove TargetCanBeReferenced()
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx
index a0e5d06..1175acf 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -734,19 +734,6 @@ bool cmGlobalVisualStudioGenerator::TargetIsFortranOnly(
return false;
}
-bool cmGlobalVisualStudioGenerator::TargetCanBeReferenced(
- cmGeneratorTarget const* gt)
-{
- if (gt->GetManagedType("") != cmGeneratorTarget::ManagedType::Native) {
- return true;
- }
- if (gt->GetType() != cmStateEnums::SHARED_LIBRARY &&
- gt->GetType() != cmStateEnums::EXECUTABLE) {
- return false;
- }
- return true;
-}
-
bool cmGlobalVisualStudioGenerator::TargetCompare::operator()(
cmGeneratorTarget const* l, cmGeneratorTarget const* r) const
{