From eb90b6c916f608d931d21b72982c6c8d51cbc333 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Wed, 2 Nov 2005 15:32:05 +0000 Subject: [PATCH] * compile .S files with MSVC2002/2003 too svn path=/trunk/; revision=18951 --- .../tools/rbuild/backend/msvc/vcprojmaker.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp index feae0377bbf..5c1a7bbb904 100644 --- a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp +++ b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp @@ -367,6 +367,24 @@ MSVCBackend::_generate_vcproj ( const Module& module ) const string& source_file = DosSeparator(source_files[isrcfile]); fprintf ( OUT, "\t\t\t\r\n", source_file.c_str() ); + + if (configuration.VSProjectVersion < "8.00") { + if (source_file.at(source_file.size() - 1) == 'S') { + for ( size_t iconfig = 0; iconfig < cfgs.size(); iconfig++ ) + { + std::string& config = cfgs[iconfig]; + fprintf ( OUT, "\t\t\t\t\r\n" ); + fprintf ( OUT, "\t\t\t\t\t\r\n" ); + fprintf ( OUT, "\t\t\t\t\r\n" ); + } + } + } fprintf ( OUT, "\t\t\t\r\n" ); } fprintf ( OUT, "\t\t\r\n" );