mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +00:00
Do automatic dependency checking for pre-compiled header files
svn path=/branches/xmlbuildsystem/; revision=15337
This commit is contained in:
parent
42715b124a
commit
0a8ee28a63
4 changed files with 39 additions and 17 deletions
|
@ -840,7 +840,7 @@ MingwModuleHandler::GenerateGccCommand (
|
|||
{
|
||||
string dependencies = sourceFilename;
|
||||
if ( module.pch && use_pch )
|
||||
dependencies += " " + module.pch->header + ".gch";
|
||||
dependencies += " " + module.pch->file.name + ".gch";
|
||||
|
||||
/* WIDL generated headers may be used */
|
||||
dependencies += " " + GetLinkingDependenciesMacro ();
|
||||
|
@ -1471,7 +1471,7 @@ MingwModuleHandler::GenerateObjectFileTargets (
|
|||
{
|
||||
if ( module.pch )
|
||||
{
|
||||
const string& pch_file = module.pch->header;
|
||||
const string& pch_file = module.pch->file.name;
|
||||
string gch_file = pch_file + ".gch";
|
||||
CLEAN_FILE(gch_file);
|
||||
if ( use_pch )
|
||||
|
@ -2920,9 +2920,9 @@ void
|
|||
MingwTestModuleHandler::GetModuleSpecificSourceFiles ( vector<File*>& sourceFiles )
|
||||
{
|
||||
string basePath = "$(INTERMEDIATE)" SSEP + module.GetBasePath ();
|
||||
sourceFiles.push_back ( new File ( basePath + SSEP "_hooks.c", false, "" ) );
|
||||
sourceFiles.push_back ( new File ( basePath + SSEP "_stubs.S", false, "" ) );
|
||||
sourceFiles.push_back ( new File ( basePath + SSEP "_startup.c", false, "" ) );
|
||||
sourceFiles.push_back ( new File ( basePath + SSEP "_hooks.c", false, "", false ) );
|
||||
sourceFiles.push_back ( new File ( basePath + SSEP "_stubs.S", false, "", false ) );
|
||||
sourceFiles.push_back ( new File ( basePath + SSEP "_startup.c", false, "", false ) );
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue