STYLE: fix line lengths
Alex
This commit is contained in:
parent
b82b47e329
commit
e41e2e6b1a
@ -89,8 +89,7 @@ void cmExtraCodeBlocksGenerator::Generate()
|
|||||||
" <Workspace title=\""<<workspaceName<<"\">\n";
|
" <Workspace title=\""<<workspaceName<<"\">\n";
|
||||||
|
|
||||||
bool firstProject = true;
|
bool firstProject = true;
|
||||||
// for each sub project in the project create
|
// for each sub project in the project create a codeblocks project
|
||||||
// a kdevelop project
|
|
||||||
for (std::map<cmStdString, std::vector<cmLocalGenerator*> >::const_iterator
|
for (std::map<cmStdString, std::vector<cmLocalGenerator*> >::const_iterator
|
||||||
it = this->GlobalGenerator->GetProjectMap().begin();
|
it = this->GlobalGenerator->GetProjectMap().begin();
|
||||||
it!= this->GlobalGenerator->GetProjectMap().end();
|
it!= this->GlobalGenerator->GetProjectMap().end();
|
||||||
@ -207,21 +206,25 @@ void cmExtraCodeBlocksGenerator
|
|||||||
case cmTarget::MODULE_LIBRARY:
|
case cmTarget::MODULE_LIBRARY:
|
||||||
// case cmTarget::UTILITY:
|
// case cmTarget::UTILITY:
|
||||||
fout<<" <Target title=\""<<ti->first<<"\">\n"
|
fout<<" <Target title=\""<<ti->first<<"\">\n"
|
||||||
" <Option output=\""<<ti->second.GetLocation(0)<<"\" prefix_auto=\"0\" extension_auto=\"0\" />\n"
|
" <Option output=\""<<ti->second.GetLocation(0)
|
||||||
" <Option working_dir=\""<<makefile->GetStartOutputDirectory()<<"\" />\n"
|
<<"\" prefix_auto=\"0\" extension_auto=\"0\" />\n"
|
||||||
|
" <Option working_dir=\""<<makefile->GetStartOutputDirectory()
|
||||||
|
<<"\" />\n"
|
||||||
" <Option type=\"0\" />\n"
|
" <Option type=\"0\" />\n"
|
||||||
" <Option compiler=\"gcc\" />\n"
|
" <Option compiler=\"gcc\" />\n"
|
||||||
" <MakeCommands>\n";
|
" <MakeCommands>\n";
|
||||||
|
|
||||||
fout<<" <Build command=\""<<make<<" -f "<<makefile->GetStartOutputDirectory()<<"/Makefile "<<ti->first<<"\" />\n";
|
fout<<" <Build command=\""<<make<<" -f "
|
||||||
fout<<" <CompileFile command=\""<<make<<" -f "<<makefile->GetStartOutputDirectory()<<"/Makefile "<<ti->first<<"\" />\n";
|
<<makefile->GetStartOutputDirectory()<<"/Makefile "<<ti->first<<"\" />\n";
|
||||||
fout<<" <Clean command=\""<<make<<" -f "<<makefile->GetStartOutputDirectory()<<"/Makefile clean\" />\n";
|
fout<<" <CompileFile command=\""<<make<<" -f "
|
||||||
fout<<" <DistClean command=\""<<make<<" -f "<<makefile->GetStartOutputDirectory()<<"/Makefile clean\" />\n";
|
<<makefile->GetStartOutputDirectory()<<"/Makefile "<<ti->first<<"\" />\n";
|
||||||
|
fout<<" <Clean command=\""<<make<<" -f "
|
||||||
|
<<makefile->GetStartOutputDirectory()<<"/Makefile clean\" />\n";
|
||||||
|
fout<<" <DistClean command=\""<<make<<" -f "
|
||||||
|
<<makefile->GetStartOutputDirectory()<<"/Makefile clean\" />\n";
|
||||||
|
|
||||||
fout<<" </MakeCommands>\n"
|
fout<<" </MakeCommands>\n"
|
||||||
" </Target>\n";
|
" </Target>\n";
|
||||||
// if (ti->second.GetType()==cmTarget::UTILITY) fout<<"****** UTILITY \n";
|
|
||||||
// if (ti->second.GetType()==cmTarget::GLOBAL_TARGET) fout<<"****** GLOBAL_YESTERDAY \n";
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
@ -46,15 +46,8 @@ public:
|
|||||||
virtual void Generate();
|
virtual void Generate();
|
||||||
private:
|
private:
|
||||||
|
|
||||||
/** Create the foo.kdevelop file. This one calls MergeProjectFiles()
|
|
||||||
if it already exists, otherwise createNewProjectFile() The project
|
|
||||||
files will be created in \a outputDir (in the build tree), the
|
|
||||||
kdevelop project dir will be set to \a projectDir (in the source
|
|
||||||
tree). \a cmakeFilePattern consists of a lists of all cmake
|
|
||||||
listfiles used by this CMakeLists.txt */
|
|
||||||
void CreateProjectFile(const std::vector<cmLocalGenerator*>& lgs);
|
void CreateProjectFile(const std::vector<cmLocalGenerator*>& lgs);
|
||||||
|
|
||||||
///! Creates a new foo.kdevelop and a new foo.kdevses file
|
|
||||||
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
|
void CreateNewProjectFile(const std::vector<cmLocalGenerator*>& lgs,
|
||||||
const std::string& filename);
|
const std::string& filename);
|
||||||
|
|
||||||
|
@ -498,7 +498,8 @@ void cmExtraEclipseCDT4Generator
|
|||||||
fout <<
|
fout <<
|
||||||
"<storageModule moduleId=\"scannerConfiguration\">\n"
|
"<storageModule moduleId=\"scannerConfiguration\">\n"
|
||||||
"<autodiscovery enabled=\"true\" problemReportingEnabled=\"true\""
|
"<autodiscovery enabled=\"true\" problemReportingEnabled=\"true\""
|
||||||
" selectedProfileId=\"org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile\"/>\n"
|
" selectedProfileId=\""
|
||||||
|
"org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile\"/>\n"
|
||||||
;
|
;
|
||||||
this->AppendScannerProfile(fout,
|
this->AppendScannerProfile(fout,
|
||||||
"org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile",
|
"org.eclipse.cdt.make.core.GCCStandardMakePerProjectProfile",
|
||||||
@ -531,8 +532,8 @@ void cmExtraEclipseCDT4Generator
|
|||||||
"-E -P -v -dD ${plugin_state_location}/${specs_file}",
|
"-E -P -v -dD ${plugin_state_location}/${specs_file}",
|
||||||
"gcc", true, true);
|
"gcc", true, true);
|
||||||
this->AppendScannerProfile(fout,
|
this->AppendScannerProfile(fout,
|
||||||
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP",
|
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"
|
||||||
false, "", false, "specsFile",
|
, false, "", false, "specsFile",
|
||||||
"-E -P -v -dD ${plugin_state_location}/specs.cpp",
|
"-E -P -v -dD ${plugin_state_location}/specs.cpp",
|
||||||
"g++", true, true);
|
"g++", true, true);
|
||||||
this->AppendScannerProfile(fout,
|
this->AppendScannerProfile(fout,
|
||||||
@ -550,7 +551,8 @@ void cmExtraEclipseCDT4Generator
|
|||||||
"cdt.managedbuild.tool.gnu.cpp.compiler.input.cygwin.1\">\n"
|
"cdt.managedbuild.tool.gnu.cpp.compiler.input.cygwin.1\">\n"
|
||||||
"<autodiscovery enabled=\"true\" problemReportingEnabled=\"true\""
|
"<autodiscovery enabled=\"true\" problemReportingEnabled=\"true\""
|
||||||
" selectedProfileId=\""
|
" selectedProfileId=\""
|
||||||
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP\"/>\n"
|
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP\""
|
||||||
|
"/>\n"
|
||||||
;
|
;
|
||||||
|
|
||||||
AppendScannerProfile(fout,
|
AppendScannerProfile(fout,
|
||||||
@ -584,8 +586,8 @@ void cmExtraEclipseCDT4Generator
|
|||||||
"-E -P -v -dD ${plugin_state_location}/${specs_file}",
|
"-E -P -v -dD ${plugin_state_location}/${specs_file}",
|
||||||
"gcc", true, true);
|
"gcc", true, true);
|
||||||
AppendScannerProfile(fout,
|
AppendScannerProfile(fout,
|
||||||
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP",
|
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"
|
||||||
true, "", false, "specsFile",
|
, true, "", false, "specsFile",
|
||||||
"-E -P -v -dD ${plugin_state_location}/specs.cpp",
|
"-E -P -v -dD ${plugin_state_location}/specs.cpp",
|
||||||
"g++", true, true);
|
"g++", true, true);
|
||||||
AppendScannerProfile(fout,
|
AppendScannerProfile(fout,
|
||||||
@ -603,7 +605,7 @@ void cmExtraEclipseCDT4Generator
|
|||||||
"cdt.managedbuild.tool.gnu.c.compiler.input.cygwin.1\">\n"
|
"cdt.managedbuild.tool.gnu.c.compiler.input.cygwin.1\">\n"
|
||||||
"<autodiscovery enabled=\"true\" problemReportingEnabled=\"true\""
|
"<autodiscovery enabled=\"true\" problemReportingEnabled=\"true\""
|
||||||
" selectedProfileId=\""
|
" selectedProfileId=\""
|
||||||
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC\"/>\n"
|
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileC\"/>\n"
|
||||||
;
|
;
|
||||||
|
|
||||||
AppendScannerProfile(fout,
|
AppendScannerProfile(fout,
|
||||||
@ -637,8 +639,8 @@ void cmExtraEclipseCDT4Generator
|
|||||||
"-E -P -v -dD ${plugin_state_location}/${specs_file}",
|
"-E -P -v -dD ${plugin_state_location}/${specs_file}",
|
||||||
"gcc", true, true);
|
"gcc", true, true);
|
||||||
AppendScannerProfile(fout,
|
AppendScannerProfile(fout,
|
||||||
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP",
|
"org.eclipse.cdt.managedbuilder.core.GCCWinManagedMakePerProjectProfileCPP"
|
||||||
false, "", false, "specsFile",
|
, false, "", false, "specsFile",
|
||||||
"-E -P -v -dD ${plugin_state_location}/specs.cpp",
|
"-E -P -v -dD ${plugin_state_location}/specs.cpp",
|
||||||
"g++", true, true);
|
"g++", true, true);
|
||||||
AppendScannerProfile(fout,
|
AppendScannerProfile(fout,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user