fixed vcproj files for modules which do not use pch

svn path=/trunk/; revision=19824
This commit is contained in:
Christoph von Wittich 2005-12-02 08:13:52 +00:00
parent b8f03978a6
commit 03075d0a48

View file

@ -428,7 +428,7 @@ MSVCBackend::_generate_vcproj ( const Module& module )
{
std::string& config = cfgs[iconfig];
if ( isrcfile == 0 )
if (( isrcfile == 0 ) && ( module.pch != NULL ))
{
/* little hack to speed up PCH */
fprintf ( OUT, "\t\t\t\t<FileConfiguration\r\n" );