mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Give .gch files an unique path based on module name: allows multiple modules to (safely!) share a single precompiled header.
Enjoy rebuilding the whole tree <3 This commit dedicated to hpoussin See issue #3263 for more details. svn path=/trunk/; revision=36760
This commit is contained in:
parent
b86c8c5ee2
commit
7b75f95f4b
1 changed files with 8 additions and 8 deletions
|
@ -1018,7 +1018,7 @@ MingwModuleHandler::GetPrecompiledHeaderFilename () const
|
||||||
if ( !module.pch || !use_pch )
|
if ( !module.pch || !use_pch )
|
||||||
return NULL;
|
return NULL;
|
||||||
return new FileLocation ( IntermediateDirectory,
|
return new FileLocation ( IntermediateDirectory,
|
||||||
module.pch->file->relative_path,
|
module.pch->file->relative_path + "/.gch_" + module.name,
|
||||||
module.pch->file->name + ".gch" );
|
module.pch->file->name + ".gch" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue