void MSVCBackend::Process()\r
{\r
string filename_sln ( ProjectNode.name );\r
+ string filename_rules = "gccasm.rules";\r
+ \r
if ( configuration.VSProjectVersion == "6.00" )\r
filename_sln += ".dsw";\r
- else\r
+ else {\r
filename_sln += ".sln";\r
+\r
+ m_rulesFile = fopen ( filename_rules.c_str(), "wb" );\r
+ if ( m_rulesFile )\r
+ {\r
+ _generate_rules_file ( m_rulesFile );\r
+ }\r
+ fclose ( m_rulesFile );\r
+ }\r
+\r
printf ( "Creating MSVC workspace: %s\n", filename_sln.c_str() );\r
\r
ProcessModules();\r
MSVCBackend::DspFileName ( const Module& module ) const\r
{\r
return DosSeparator(\r
- ReplaceExtension ( module.GetPath(), ".dsp" )\r
+ ReplaceExtension ( module.GetPath(), "_auto.dsp" )\r
);\r
}\r
\r
MSVCBackend::VcprojFileName ( const Module& module ) const\r
{\r
return DosSeparator(\r
- ReplaceExtension ( module.GetPath(), ".vcproj" )\r
+ ReplaceExtension ( module.GetPath(), "_auto.vcproj" )\r
);\r
}\r