mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
fix msvc build bug with project having assemblers
svn path=/trunk/; revision=21858
This commit is contained in:
parent
bef295c91c
commit
1991163828
2 changed files with 3 additions and 4 deletions
|
@ -344,7 +344,6 @@ MSVCBackend::_get_object_files ( const Module& module, vector<string>& out) cons
|
||||||
out.push_back ( cfgs[i] + "\\" + module.name + ".lib" );
|
out.push_back ( cfgs[i] + "\\" + module.name + ".lib" );
|
||||||
out.push_back ( cfgs[i] + "\\" + module.name + ".exp" );
|
out.push_back ( cfgs[i] + "\\" + module.name + ".exp" );
|
||||||
out.push_back ( cfgs[i] + "\\" + module.name + ".ilk" );
|
out.push_back ( cfgs[i] + "\\" + module.name + ".ilk" );
|
||||||
out.push_back ( cfgs[i] + "\\" + "(InputName).obj" ); //MSVC2003 build bug
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -517,13 +517,13 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
||||||
if (source_file.find(".idl") != string::npos)
|
if (source_file.find(".idl") != string::npos)
|
||||||
{
|
{
|
||||||
fprintf ( OUT, "\t\t\t\t\t\tName=\"VCCustomBuildTool\"\r\n" );
|
fprintf ( OUT, "\t\t\t\t\t\tName=\"VCCustomBuildTool\"\r\n" );
|
||||||
fprintf ( OUT, "\t\t\t\t\t\tOutputs=\"$(OutDir)\\(InputName).obj\"/>\r\n" );
|
fprintf ( OUT, "\t\t\t\t\t\tOutputs=\"$(OutDir)\\$(InputName).obj\"/>\r\n" );
|
||||||
}
|
}
|
||||||
else if ((source_file.find(".asm") != string::npos || tolower(source_file.at(source_file.size() - 1)) == 's'))
|
else if ((source_file.find(".asm") != string::npos || tolower(source_file.at(source_file.size() - 1)) == 's'))
|
||||||
{
|
{
|
||||||
fprintf ( OUT, "\t\t\t\t\t\tName=\"VCCustomBuildTool\"\r\n" );
|
fprintf ( OUT, "\t\t\t\t\t\tName=\"VCCustomBuildTool\"\r\n" );
|
||||||
fprintf ( OUT, "\t\t\t\t\t\tCommandLine=\"cl /E "$(InputPath)" %s /D__ASM__ | as -o "$(OutDir)\\(InputName).obj"\"\r\n",include_string.c_str() );
|
fprintf ( OUT, "\t\t\t\t\t\tCommandLine=\"cl /E "$(InputPath)" %s /D__ASM__ | as -o "$(OutDir)\\$(InputName).obj"\"\r\n",include_string.c_str() );
|
||||||
fprintf ( OUT, "\t\t\t\t\t\tOutputs=\"$(OutDir)\\(InputName).obj\"/>\r\n" );
|
fprintf ( OUT, "\t\t\t\t\t\tOutputs=\"$(OutDir)\\$(InputName).obj\"/>\r\n" );
|
||||||
}
|
}
|
||||||
fprintf ( OUT, "\t\t\t\t</FileConfiguration>\r\n" );
|
fprintf ( OUT, "\t\t\t\t</FileConfiguration>\r\n" );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue