diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-06-14 16:28:32 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-06-14 16:28:32 (GMT) |
commit | 8e9a6becccc739e8135d5a3b303e8bf125fe3015 (patch) | |
tree | 4d7cbd51dd9ce0b7ecb79bcde0b4439c912383e7 /Source/cmGlobalGenerator.cxx | |
parent | 108839ffda95fc54296d05dec176ff3a6ed6f02c (diff) | |
download | CMake-8e9a6becccc739e8135d5a3b303e8bf125fe3015.zip CMake-8e9a6becccc739e8135d5a3b303e8bf125fe3015.tar.gz CMake-8e9a6becccc739e8135d5a3b303e8bf125fe3015.tar.bz2 |
ENH: centralized locaiton of CMakeFiles setting
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index c04ad73..0feb91e 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -175,7 +175,7 @@ cmGlobalGenerator::EnableLanguage(std::vector<std::string>const& languages, } mf->AddDefinition("RUN_CONFIGURE", true); std::string rootBin = mf->GetHomeOutputDirectory(); - rootBin += "/CMakeFiles"; + rootBin += cmake::GetCMakeFilesDirectory(); // If the configuration files path has been set, // then we are in a try compile and need to copy the enable language @@ -930,7 +930,7 @@ cmLocalGenerator *cmGlobalGenerator::CreateLocalGenerator() void cmGlobalGenerator::EnableLanguagesFromGenerator(cmGlobalGenerator *gen ) { std::string cfp = gen->GetCMakeInstance()->GetHomeOutputDirectory(); - cfp += "/CMakeFiles"; + cfp += cmake::GetCMakeFilesDirectory(); this->SetConfiguredFilesPath(cfp.c_str()); const char* make = gen->GetCMakeInstance()->GetCacheDefinition("CMAKE_MAKE_PROGRAM"); |