summaryrefslogtreecommitdiffstats
path: root/Source/cmCreateTestSourceList.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-12-13 17:19:59 (GMT)
committerKen Martin <ken.martin@kitware.com>2006-12-13 17:19:59 (GMT)
commit5d11564c35b7c7f7a578e848b926a63746c3bcf3 (patch)
tree0abed46cb0dc0ad9f3d458d43188958cb15f9f63 /Source/cmCreateTestSourceList.cxx
parente1a142f033f3842e19cd207c32fad384a0384772 (diff)
downloadCMake-5d11564c35b7c7f7a578e848b926a63746c3bcf3.zip
CMake-5d11564c35b7c7f7a578e848b926a63746c3bcf3.tar.gz
CMake-5d11564c35b7c7f7a578e848b926a63746c3bcf3.tar.bz2
ENH: allow source file properties to chain to Directories and up
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
-rw-r--r--Source/cmCreateTestSourceList.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmCreateTestSourceList.cxx b/Source/cmCreateTestSourceList.cxx
index 89253e9..ebd7f71 100644
--- a/Source/cmCreateTestSourceList.cxx
+++ b/Source/cmCreateTestSourceList.cxx
@@ -172,7 +172,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& args)
// Create the source list
cmSourceFile cfile;
- cfile.GetProperties().SetCMakeInstance(this->Makefile->GetCMakeInstance());
+ cfile.SetMakefile(this->Makefile);
std::string sourceListValue;
cfile.SetProperty("ABSTRACT","0");
@@ -186,8 +186,7 @@ bool cmCreateTestSourceList::InitialPass(std::vector<std::string> const& args)
for(i = testsBegin; i != tests.end(); ++i)
{
cmSourceFile icfile;
- icfile.GetProperties().
- SetCMakeInstance(this->Makefile->GetCMakeInstance());
+ icfile.SetMakefile(this->Makefile);
icfile.SetProperty("ABSTRACT","0");
icfile.SetName(i->c_str(),
this->Makefile->GetCurrentDirectory(),