From f98179a8351d956a6545964051ada1e8dce94214 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 18 Jun 2012 06:41:04 +0200 Subject: [PATCH] astyle formatting --- tools/dmake.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/tools/dmake.cpp b/tools/dmake.cpp index 0ffb36720..abfc69993 100644 --- a/tools/dmake.cpp +++ b/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";