summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPWriter.cxx
diff options
context:
space:
mode:
authorPhil Pritchett <p.pritchett@2d3.com>2001-10-31 12:03:32 (GMT)
committerPhil Pritchett <p.pritchett@2d3.com>2001-10-31 12:03:32 (GMT)
commit4ba36ca453792be53916d29ee056f94232fd85f7 (patch)
tree945337627151687961e96d5f7c556ec2712faa1c /Source/cmDSPWriter.cxx
parent4a8b9ecf98d33b891f83dd75b2158f50a2d8dcb1 (diff)
downloadCMake-4ba36ca453792be53916d29ee056f94232fd85f7.zip
CMake-4ba36ca453792be53916d29ee056f94232fd85f7.tar.gz
CMake-4ba36ca453792be53916d29ee056f94232fd85f7.tar.bz2
INCLUDE_EXTERNAL_MSPROJECT command
Diffstat (limited to 'Source/cmDSPWriter.cxx')
-rw-r--r--Source/cmDSPWriter.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx
index 8d52ee4..4b2f405 100644
--- a/Source/cmDSPWriter.cxx
+++ b/Source/cmDSPWriter.cxx
@@ -124,8 +124,11 @@ void cmDSPWriter::OutputDSPFile()
cmSystemTools::Error("Bad target type", l->first.c_str());
break;
}
+ // INCLUDE_EXTERNAL_MSPROJECT command only affects the workspace
+ // so don't build a projectfile for it
if ((l->second.GetType() != cmTarget::INSTALL_FILES)
- && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS))
+ && (l->second.GetType() != cmTarget::INSTALL_PROGRAMS)
+ && (l->first != "INCLUDE_EXTERNAL_MSPROJECT"))
{
this->CreateSingleDSP(l->first.c_str(),l->second);
}