summaryrefslogtreecommitdiffstats
path: root/Source/cmCreateTestSourceList.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-03-27 21:19:44 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-03-27 21:19:44 (GMT)
commitb63d6ee7ddefccbd290eec494a52cbc07c63dda4 (patch)
treee3e1e54ee518917cfa919966fb2dca9338edb9c7 /Source/cmCreateTestSourceList.cxx
parentb0eb1031b71a403bb5af7b2bdea926eb39e13270 (diff)
downloadCMake-b63d6ee7ddefccbd290eec494a52cbc07c63dda4.zip
CMake-b63d6ee7ddefccbd290eec494a52cbc07c63dda4.tar.gz
CMake-b63d6ee7ddefccbd290eec494a52cbc07c63dda4.tar.bz2
FIX: cmSourceFile::SetName was not called correctly for the test source files
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r--Source/cmCreateTestSourceList.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index 37aed41..895d5aa 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -202,8 +202,8 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& argsIn)
cfile.SetIsAnAbstractClass(false);
cfile.SetName(i->c_str(),
m_Makefile->GetCurrentDirectory(),
- "cxx",
- false);
+ m_Makefile->GetSourceExtensions(),
+ m_Makefile->GetHeaderExtensions());
m_Makefile->AddSource(cfile, sourceList);
}