summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-11-26 19:29:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-11-26 19:29:53 (GMT)
commit5ccfaefb48758c7af0df011df160add1df1e1b53 (patch)
treeae6202ea94f7a18407752ead032cbe44aa5c7011 /Source/cmMakefile.cxx
parent945fcb581d2c8f21bd9bc077ccf505ee058fa81d (diff)
downloadCMake-5ccfaefb48758c7af0df011df160add1df1e1b53.zip
CMake-5ccfaefb48758c7af0df011df160add1df1e1b53.tar.gz
CMake-5ccfaefb48758c7af0df011df160add1df1e1b53.tar.bz2
ENH: generate a sln and dsw file for each sub project in a project
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index c1bb833..348c489 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -954,6 +954,10 @@ void cmMakefile::RemoveDefinition(const char* name)
void cmMakefile::SetProjectName(const char* p)
{
+ if(m_ProjectName.size())
+ {
+ m_ParentProjects.push_back(m_ProjectName);
+ }
m_ProjectName = p;
}