fixed vcproj files for modules which do not use pch
authorChristoph von Wittich <christoph_vw@reactos.org>
Fri, 2 Dec 2005 08:13:52 +0000 (08:13 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Fri, 2 Dec 2005 08:13:52 +0000 (08:13 +0000)
svn path=/trunk/; revision=19824

reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp

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