From: Christoph von Wittich Date: Wed, 2 Nov 2005 15:32:05 +0000 (+0000) Subject: * compile .S files with MSVC2002/2003 too X-Git-Tag: backups/ros-branch-0_2_9@19949~934 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=eb90b6c916f608d931d21b72982c6c8d51cbc333;hp=7a80b9dabf511c6ac0cb51175c96007a02c202ad * compile .S files with MSVC2002/2003 too svn path=/trunk/; revision=18951 --- 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" );