- Don't listen to me, my 99.9% assurance that the new backend architecture wouldn...
authorGed Murphy <gedmurphy@reactos.org>
Fri, 4 Dec 2009 11:33:17 +0000 (11:33 +0000)
committerGed Murphy <gedmurphy@reactos.org>
Fri, 4 Dec 2009 11:33:17 +0000 (11:33 +0000)
- Remove the 'test' file name bug I put in to stop people overwriting their vcproj files.
- Don't forget object cleanup Ged ... this isn't .NET.
- 'make msvc#' is now working again.

svn path=/trunk/; revision=44401

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

index 0c0b7dc..5beb7d0 100644 (file)
@@ -138,12 +138,15 @@ void MSVCBackend::ProcessModules()
 
                ProjMaker *projMaker;
 
+               string vcproj_file = VcprojFileName(module);
+
                if (configuration.VSProjectVersion == "10.00")
-                       projMaker = new VCXProjMaker( configuration, m_configurations, "test" );
+                       projMaker = new VCXProjMaker( configuration, m_configurations, vcproj_file );
                else
-                       projMaker = new VCProjMaker( configuration, m_configurations, "test" );
+                       projMaker = new VCProjMaker( configuration, m_configurations, vcproj_file );
 
                projMaker->_generate_proj_file ( module );
+               delete projMaker;
        }
 }