Author: rhuijben
Date: Sat Jul 20 10:25:51 2013
New Revision: 1505117

URL: http://svn.apache.org/r1505117
Log:
* build/generator/gen_win.py
  Apply a Windows specific build.conf patch to optimize the MSBuild project
  needs-build checking.
  
  This is a Windows specific reversion of r1464496 (and similar to r1464496),
  which applied this change to all platforms.

Modified:
    subversion/trunk/build/generator/gen_win.py

Modified: subversion/trunk/build/generator/gen_win.py
URL: 
http://svn.apache.org/viewvc/subversion/trunk/build/generator/gen_win.py?rev=1505117&r1=1505116&r2=1505117&view=diff
==============================================================================
--- subversion/trunk/build/generator/gen_win.py (original)
+++ subversion/trunk/build/generator/gen_win.py Sat Jul 20 10:25:51 2013
@@ -68,6 +68,15 @@ class WinGeneratorBase(gen_win_dependenc
     gen_win_dependencies.GenDependenciesBase.__init__(self, fname, verfname,
                                                       options, find_libs=False)
 
+    # On Windows we create svn_private_config.h in the output directory since
+    # r1370526.
+    # 
+    # Without this replacement all projects include a not-existing file,
+    # which makes the MSBuild calculation to see whether a project is changed
+    # far more expensive than necessary.
+    self.private_built_includes.append('$(Configuration)/svn_private_config.h')
+    self.private_built_includes.remove('subversion/svn_private_config.h')
+
     if subdir == 'vcnet-vcproj':
       print('Generating for Visual Studio %s\n' % self.vs_version)
 


Reply via email to