astyle formatting
This commit is contained in:
parent
4390df75b9
commit
f98179a835
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue