mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 17:39:26 +02:00
polishing the scribe -c++ case
This commit is contained in:
parent
42157161e0
commit
7ea9f92492
1 changed files with 1 additions and 14 deletions
|
@ -192,21 +192,8 @@ int main (int argc, char** argv) {
|
||||||
targetStringStream << "#ifndef scribe_" << targetName << "_h" << std::endl;
|
targetStringStream << "#ifndef scribe_" << targetName << "_h" << std::endl;
|
||||||
targetStringStream << "#define scribe_" << targetName << "_h" << std::endl << std::endl;
|
targetStringStream << "#define scribe_" << targetName << "_h" << std::endl << std::endl;
|
||||||
|
|
||||||
targetStringStream << "const char " << targetName << "[] = R\"XXX(" << destStringStream.str() << ")XXX\";";
|
targetStringStream << "const char " << targetName << "[] = R\"XXXX(" << destStringStream.str() << ")XXXX\";";
|
||||||
/*
|
|
||||||
targetStringStream << "const char " << targetName << "[] = {\n";
|
|
||||||
|
|
||||||
std::stringstream destStringStreamAgain(destStringStream.str());
|
|
||||||
while (!destStringStreamAgain.eof()) {
|
|
||||||
std::string line;
|
|
||||||
std::getline(destStringStreamAgain, line);
|
|
||||||
|
|
||||||
|
|
||||||
if (line.find_first_of('/t') )
|
|
||||||
targetStringStream << "\"" << line << "\\n\"" << std::endl;
|
|
||||||
}
|
|
||||||
targetStringStream << "};" << std::endl << std::endl;
|
|
||||||
*/
|
|
||||||
targetStringStream << std::endl << std::endl;
|
targetStringStream << std::endl << std::endl;
|
||||||
targetStringStream << "#endif" << std::endl;
|
targetStringStream << "#endif" << std::endl;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue