X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Ftools%2Frbuild%2Fbackend%2Fmsvc%2Fvcprojmaker.cpp;h=e73fad101aee26bbce7f9149d70d2f0557765c16;hp=b62f7967ed8ed77bb9e7ddb379756e6847d47f42;hb=783db87483dfe3ff532f5ecfedb06de459800b5a;hpb=cc6eecf1dd08340e09a5d561b7eac35fa8ce9b48 diff --git a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp index b62f7967ed8..e73fad101ae 100644 --- a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp +++ b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp @@ -90,9 +90,8 @@ MSVCBackend::_generate_vcproj ( const Module& module ) //$progress_current++; //$output->progress("$dsp_file (file $progress_current of $progress_max)"); - // TODO FIXME - what's diff. betw. 'c_srcs' and 'source_files'? string vcproj_path = module.GetBasePath(); - vector c_srcs, source_files, resource_files, includes, libraries, defines; + vector source_files, resource_files, includes, libraries, defines; vector ifs_list; ifs_list.push_back ( &module.project.non_if_data ); ifs_list.push_back ( &module.non_if_data ); @@ -117,9 +116,8 @@ MSVCBackend::_generate_vcproj ( const Module& module ) // TODO FIXME - do we want the full path of the file here? string file = string(".") + &files[i]->name[vcproj_path.size()]; - source_files.push_back ( file ); if ( !stricmp ( Right(file,2).c_str(), ".c" ) ) - c_srcs.push_back ( file ); + source_files.push_back ( file ); if ( !stricmp ( Right(file,3).c_str(), ".rc" ) ) resource_files.push_back ( file ); } @@ -529,7 +527,7 @@ MSVCBackend::_generate_vcproj ( const Module& module ) fprintf ( OUT, "\t\t\r\n" ); - for ( i = 0; i < header_files.size(); i++ ) + for ( i = 0; i < resource_files.size(); i++ ) { const string& resource_file = resource_files[i]; fprintf ( OUT, "\t\t\t