diff --git a/reactos/tools/rbuild/backend/msvc/msvc.cpp b/reactos/tools/rbuild/backend/msvc/msvc.cpp index 83421e03212..e7581bfb965 100644 --- a/reactos/tools/rbuild/backend/msvc/msvc.cpp +++ b/reactos/tools/rbuild/backend/msvc/msvc.cpp @@ -54,19 +54,19 @@ MSVCBackend::MSVCBackend(Project &project, void MSVCBackend::Process() { string filename_sln ( ProjectNode.name ); - string filename_rules = "gccasm.rules"; + //string filename_rules = "gccasm.rules"; if ( configuration.VSProjectVersion == "6.00" ) filename_sln += ".dsw"; else { filename_sln += ".sln"; - m_rulesFile = fopen ( filename_rules.c_str(), "wb" ); - if ( m_rulesFile ) - { - _generate_rules_file ( m_rulesFile ); - } - fclose ( m_rulesFile ); + //m_rulesFile = fopen ( filename_rules.c_str(), "wb" ); + //if ( m_rulesFile ) + //{ + // _generate_rules_file ( m_rulesFile ); + //} + //fclose ( m_rulesFile ); } printf ( "Creating MSVC workspace: %s\n", filename_sln.c_str() ); diff --git a/reactos/tools/rbuild/backend/msvc/msvc.h b/reactos/tools/rbuild/backend/msvc/msvc.h index bf8b9b63cd0..6d19353a3c7 100644 --- a/reactos/tools/rbuild/backend/msvc/msvc.h +++ b/reactos/tools/rbuild/backend/msvc/msvc.h @@ -92,7 +92,7 @@ class MSVCBackend : public Backend void _generate_sln_header ( FILE* OUT ); void _generate_sln_footer ( FILE* OUT ); void _generate_sln ( FILE* OUT ); - void _generate_rules_file ( FILE* OUT ); + //void _generate_rules_file ( FILE* OUT ); void _generate_sln_project ( FILE* OUT, const Module& module, diff --git a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp index 91756b39d04..e89efb277cd 100644 --- a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp +++ b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp @@ -493,7 +493,7 @@ MSVCBackend::_generate_vcproj ( const Module& module ) fprintf ( OUT, "\t\t\t\t\r\n" ); } - if (configuration.VSProjectVersion < "8.00") { + //if (configuration.VSProjectVersion < "8.00") { if ((source_file.find(".idl") != string::npos) || ((source_file.find(".asm") != string::npos || tolower(source_file.at(source_file.size() - 1)) == 's'))) { fprintf ( OUT, "\t\t\t\t\r\n" ); } - } + //} } fprintf ( OUT, "\t\t\t\r\n" ); } @@ -588,29 +588,29 @@ MSVCBackend::_get_solution_verion ( void ) { } -void -MSVCBackend::_generate_rules_file ( FILE* OUT ) -{ - fprintf ( OUT, "\r\n" ); - fprintf ( OUT, "\r\n" ); - fprintf ( OUT, "\t\r\n" ); - fprintf ( OUT, "\t\t\r\n" ); - fprintf ( OUT, "\t\t\t\r\n" ); - fprintf ( OUT, "\t\t\t\r\n" ); - fprintf ( OUT, "\t\t\r\n" ); - fprintf ( OUT, "\t\r\n" ); - fprintf ( OUT, "\r\n" ); -} +//void +//MSVCBackend::_generate_rules_file ( FILE* OUT ) +//{ +// fprintf ( OUT, "\r\n" ); +// fprintf ( OUT, "\r\n" ); +// fprintf ( OUT, "\t\r\n" ); +// fprintf ( OUT, "\t\t\r\n" ); +// fprintf ( OUT, "\t\t\t\r\n" ); +// fprintf ( OUT, "\t\t\t\r\n" ); +// fprintf ( OUT, "\t\t\r\n" ); +// fprintf ( OUT, "\t\r\n" ); +// fprintf ( OUT, "\r\n" ); +//} void MSVCBackend::_generate_sln_header ( FILE* OUT )