summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-21 13:32:11 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-21 13:32:11 (GMT)
commit619864c09eac7b4d87e3607c017a52c0499fdc11 (patch)
tree66d23cad33de8aa096e53bdc2bd9c03bb1fefe43 /Source/cmMakefile.cxx
parente2a555e1e177f364137c85ba326e4c91b7d89611 (diff)
downloadCMake-619864c09eac7b4d87e3607c017a52c0499fdc11.zip
CMake-619864c09eac7b4d87e3607c017a52c0499fdc11.tar.gz
CMake-619864c09eac7b4d87e3607c017a52c0499fdc11.tar.bz2
new out of place builds
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx15
1 files changed, 1 insertions, 14 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 436146c..41a0ffa 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -64,13 +64,6 @@ cmMakefile::cmMakefile()
this->AddDefaultCommands();
this->AddDefaultDefinitions();
cmCacheManager::GetInstance()->DefineCache(this);
-#if defined(_WIN32) && !defined(__CYGWIN__)
- const char* cacheValue
- = cmCacheManager::GetInstance()->GetCacheValue("CMAKE_ROOT");
- std::string fpath = cacheValue;
- fpath += "/Templates/CMakeWindowsSystemConfig.cmake";
- this->ReadListFile(NULL,fpath.c_str());
-#endif
}
void cmMakefile::AddDefaultCommands()
@@ -346,6 +339,7 @@ void cmMakefile::SetMakefileGenerator(cmMakefileGenerator* mf)
{
delete m_MakefileGenerator;
m_MakefileGenerator = mf;
+ mf->SetMakefile(this);
}
// Generate the output file
@@ -353,8 +347,6 @@ void cmMakefile::GenerateMakefile()
{
// do all the variable expansions here
this->ExpandVariables();
- // set the makefile on the generator
- m_MakefileGenerator->SetMakefile(this);
// give all the commands a chance to do something
// after the file has been parsed before generation
for(std::vector<cmCommand*>::iterator i = m_UsedCommands.begin();
@@ -868,11 +860,6 @@ void cmMakefile::SetHomeOutputDirectory(const char* lib)
m_HomeOutputDirectory = lib;
cmSystemTools::ConvertToUnixSlashes(m_HomeOutputDirectory);
this->AddDefinition("CMAKE_BINARY_DIR", this->GetHomeOutputDirectory());
-#if !defined(_WIN32) || defined(__CYGWIN__)
- std::string fpath = lib;
- fpath += "/CMakeSystemConfig.cmake";
- this->ReadListFile(NULL,fpath.c_str());
-#endif
}