Browse files

astyle formatting

  • Loading branch information...
1 parent 4390df7 commit f98179a8351d956a6545964051ada1e8dce94214 @danmar committed Jun 18, 2012
Showing with 15 additions and 15 deletions.
  1. +15 −15 tools/dmake.cpp
View
30 tools/dmake.cpp
@@ -192,23 +192,23 @@ int main(int argc, char **argv)
// QMAKE - test/testfiles.pri
{
- std::ofstream fout1("test/testfiles.pri");
- if (fout1.is_open()) {
- fout1 << "# no manual edits - this file is autogenerated by dmake\n\n";
- fout1 << "INCLUDEPATH += ../externals/tinyxml\n";
- fout1 << "\n\nSOURCES += ";
- for (unsigned int i = 0; i < testfiles.size(); ++i) {
- const std::string filename(testfiles[i].substr(5));
- // Include only files containing tests in this listing.
- // I.e. filenames beginning with "test".
+ std::ofstream fout1("test/testfiles.pri");
+ if (fout1.is_open()) {
+ fout1 << "# no manual edits - this file is autogenerated by dmake\n\n";
+ fout1 << "INCLUDEPATH += ../externals/tinyxml\n";
+ fout1 << "\n\nSOURCES += ";
+ for (unsigned int i = 0; i < testfiles.size(); ++i) {
+ const std::string filename(testfiles[i].substr(5));
+ // Include only files containing tests in this listing.
+ // I.e. filenames beginning with "test".
if (filename.compare(0, 4, "test") == 0) {
- fout1 << "$${BASEPATH}/" << filename;
+ fout1 << "$${BASEPATH}/" << filename;
if (i + 1 < testfiles.size())
- fout1 << " \\\n" << std::string(11, ' ');
- }
- }
- fout1 << "\n";
- }
+ fout1 << " \\\n" << std::string(11, ' ');
+ }
+ }
+ fout1 << "\n";
+ }
}
static const char makefile[] = "Makefile";

0 comments on commit f98179a

Please sign in to comment.