create only the project files specified on cmdline

svn path=/trunk/; revision=18631
This commit is contained in:
Christoph von Wittich 2005-10-20 14:27:02 +00:00
parent 613156caf8
commit db95f67404
3 changed files with 9 additions and 7 deletions

View file

@ -92,8 +92,11 @@ void MSVCBackend::ProcessModules()
Module &module = *ProjectNode.modules[i]; Module &module = *ProjectNode.modules[i];
module.guid = _gen_guid(); module.guid = _gen_guid();
this->_generate_dsp ( module );
this->_generate_vcproj ( module ); if (configuration.VSProjectVersion == "6.00")
this->_generate_dsp ( module );
else
this->_generate_vcproj ( module );
/*for(size_t k = 0; k < module.non_if_data.files.size(); k++) /*for(size_t k = 0; k < module.non_if_data.files.size(); k++)

View file

@ -419,13 +419,13 @@ MSVCBackend::_generate_sln_header ( FILE* OUT )
string version; string version;
if (configuration.VSProjectVersion == "7.00") if (configuration.VSProjectVersion == "7.00")
version = "7.00"; version = "7.00";
if (configuration.VSProjectVersion == "7.10") if (configuration.VSProjectVersion == "7.10")
version = "8.00"; version = "8.00";
if (configuration.VSProjectVersion == "8.00") if (configuration.VSProjectVersion == "8.00")
version = "9.00"; version = "9.00";
fprintf ( OUT, "Microsoft Visual Studio Solution File, Format Version %s\r\n", version.c_str() ); fprintf ( OUT, "Microsoft Visual Studio Solution File, Format Version %s\r\n", version.c_str() );
fprintf ( OUT, "# Visual Studio 2005\r\n" ); fprintf ( OUT, "# Visual Studio 2005\r\n" );

View file

@ -189,8 +189,7 @@ main ( int argc, char** argv )
if ( !ParseArguments ( argc, argv ) ) if ( !ParseArguments ( argc, argv ) )
{ {
printf ( "Generates project files for buildsystems\n\n" ); printf ( "Generates project files for buildsystems\n\n" );
printf ( " rbuild [switches] buildsystem\n" ); printf ( " rbuild [switches] buildsystem\n\n" );
printf ( " rbuild msvc\n" );
printf ( "Switches:\n" ); printf ( "Switches:\n" );
printf ( " -v Be verbose.\n" ); printf ( " -v Be verbose.\n" );
printf ( " -c Clean as you go. Delete generated files as soon as they are not\n" ); printf ( " -c Clean as you go. Delete generated files as soon as they are not\n" );