mirror of
https://github.com/reactos/CMake.git
synced 2024-11-30 15:00:41 +00:00
Autogen: Initializer: Add old settings file to clean files
This commit is contained in:
parent
d7d2cb48c6
commit
f27c5852b0
@ -674,6 +674,14 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget(
|
||||
const std::string qtMajorVersion = GetQtMajorVersion(target);
|
||||
std::vector<std::string> autogenOutputFiles;
|
||||
|
||||
// Remove old settings on cleanup
|
||||
{
|
||||
std::string fname = GetAutogenTargetFilesDir(target);
|
||||
fname += "/AutogenOldSettings.cmake";
|
||||
makefile->AppendProperty("ADDITIONAL_MAKE_CLEAN_FILES", fname.c_str(),
|
||||
false);
|
||||
}
|
||||
|
||||
// Create autogen target build directory and add it to the clean files
|
||||
cmSystemTools::MakeDirectory(autogenBuildDir);
|
||||
makefile->AppendProperty("ADDITIONAL_MAKE_CLEAN_FILES",
|
||||
|
Loading…
Reference in New Issue
Block a user