we do still need to generate dsw files for msvc6
authorRoyce Mitchell III <royce3@ev1.net>
Thu, 20 Oct 2005 16:49:00 +0000 (16:49 +0000)
committerRoyce Mitchell III <royce3@ev1.net>
Thu, 20 Oct 2005 16:49:00 +0000 (16:49 +0000)
svn path=/trunk/; revision=18638

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

index 3f0d8c0..e270911 100644 (file)
@@ -53,8 +53,11 @@ MSVCBackend::MSVCBackend(Project &project,
 \r
 void MSVCBackend::Process()\r
 {\r
-\r
-       string filename_sln = ProjectNode.name + ".sln";\r
+       string filename_sln ( ProjectNode.name );\r
+       if ( configuration.VSProjectVersion == "6.00" )\r
+               filename_sln += ".dsw";\r
+       else\r
+               filename_sln += ".sln";\r
        printf ( "Creating MSVC workspace: %s\n", filename_sln.c_str() );\r
        \r
        ProcessModules();\r
@@ -66,7 +69,11 @@ void MSVCBackend::Process()
                return;\r
        }\r
 \r
-       _generate_sln ( m_slnFile );\r
+       if ( configuration.VSProjectVersion == "6.00" )\r
+               _generate_wine_dsw ( m_slnFile );\r
+       else\r
+               _generate_sln ( m_slnFile );\r
+\r
        fclose ( m_slnFile );\r
        printf ( "Done.\n" );\r
 }\r