mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
fix pch bug (patch by Brezenbak)
svn path=/trunk/; revision=20694
This commit is contained in:
parent
139c2b58af
commit
992bede333
1 changed files with 3 additions and 0 deletions
|
@ -321,6 +321,9 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
|||
string pch_path = Path::RelativeFromDirectory (
|
||||
module.pch->file.name,
|
||||
module.GetBasePath() );
|
||||
string::size_type pos = pch_path.find_last_of ("/");
|
||||
if ( pos != string::npos )
|
||||
pch_path.erase(0, pos+1);
|
||||
fprintf ( OUT, "\t\t\t\tPrecompiledHeaderThrough=\"%s\"\r\n", pch_path.c_str() );
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue