Commit 5dc51ea2 authored by Emmanuel Promayon's avatar Emmanuel Promayon

NEW add a description when generating from the cep XML

parent d9be9b43
......@@ -150,7 +150,7 @@ void ViewerGenerator::writeCFile(QString directoryName) {
text.replace(QRegularExpression("@LICENCE@"), licence);
text.replace(QRegularExpression("@VIEWERCLASSNAME@"), className);
text.replace(QRegularExpression("@VIEWERTYPE@"), type);
text.replace(QRegularExpression("@DESCRIPTION@"), description);
if (text.contains(QRegExp("@BEGIN_ADDCOMPONENTS@"))) {
text = in.readLine();
......
......@@ -15,6 +15,7 @@ using namespace camitk;
viewedComponent << "@COMPONENT@";
@END_ADDCOMPONENTS@
setComponents(viewedComponent);
setDescription("@DESCRIPTION@");
}
// -------------------- Destructor --------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment