summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-07-14 18:16:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-07-14 18:16:46 (GMT)
commit3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78 (patch)
tree7f54a15847997cffa6979fb9267263a01029cd48 /Source/cmGlobalVisualStudioGenerator.cxx
parentb23b1800a586b0afb316f92d9bde82896c804ef5 (diff)
downloadCMake-3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78.zip
CMake-3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78.tar.gz
CMake-3d1c12b802c3dd3a0284f5f10aec3b98ab6d3a78.tar.bz2
ENH: remove INCLUDE_EXTERNAL_MSPROJECT name hack, and use target properties instead, fix VXExternalInclude test for VS10
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 e204681..43e3a81 100644
--- a/Source/cmGlobalVisualStudioGenerator.cxx
+++ b/Source/cmGlobalVisualStudioGenerator.cxx
@@ -376,19 +376,6 @@ const char*
cmGlobalVisualStudioGenerator::GetUtilityForTarget(cmTarget& target,
const char* name)
{
- // Handle the external MS project special case.
- if(strncmp(name, "INCLUDE_EXTERNAL_MSPROJECT", 26) == 0)
- {
- // Note from Ken:
- // kind of weird removing the first 27 letters. my
- // recommendatsions: use cmCustomCommand::GetCommand() to get the
- // project name or get rid of the target name starting with
- // "INCLUDE_EXTERNAL_MSPROJECT_" and use another indicator/flag
- // somewhere. These external project names shouldn't conflict
- // with cmake target names anyways.
- return name+27;
- }
-
// Possibly depend on an intermediate utility target to avoid
// linking.
if(target.GetType() == cmTarget::STATIC_LIBRARY ||