<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Hallo, <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I wanted to report how to compile the plugins and the
main program altogether.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>The SUBDIRS += … in TeXworks.pro doesn’t
work, because TEMPLATE is app <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>and not subdirs.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>I made a project file TeXworks_all.pro with the following
content<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<pre><font size=2 color=purple face="Courier New"><span lang=EN-GB
style='font-size:10.0pt;color:purple'>TEMPLATE</span></font><span lang=EN-GB> = subdirs<o:p></o:p></span></pre><pre
style='-qt-paragraph-type:empty;-qt-block-indent:0'><font size=2 color=purple
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:purple'>CONFIG</span></font><span
lang=EN-GB> += ordered<o:p></o:p></span></pre><pre
style='-qt-paragraph-type:empty;-qt-block-indent:0'><font size=2 color=purple
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:purple'>DEPENDPATH</span></font><span
lang=EN-GB> += ./src<o:p></o:p></span></pre><pre style='-qt-block-indent:0'><font
size=2 color=purple face="Courier New"><span lang=EN-GB style='font-size:10.0pt;
color:purple'>INCLUDEPATH</span></font><span lang=EN-GB> += ./src<o:p></o:p></span></pre><pre
style='-qt-paragraph-type:empty;-qt-block-indent:0'><font size=2 color=purple
face="Courier New"><span lang=EN-GB style='font-size:10.0pt;color:purple'>SUBDIRS</span></font><span
lang=EN-GB> = plugins-src/TWLuaPlugin<o:p></o:p></span></pre><pre
style='-qt-block-indent:0'><font size=2 color=purple face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:purple'>SUBDIRS</span></font><span
lang=EN-GB> += plugins-src/TWPythonPlugin<o:p></o:p></span></pre><pre
style='-qt-block-indent:0'><font size=2 color=purple face="Courier New"><span
lang=EN-GB style='font-size:10.0pt;color:purple'>SUBDIRS</span></font><span
lang=EN-GB> += TeXworks<o:p></o:p></span></pre><pre
style='-qt-paragraph-type:empty;-qt-block-indent:0'><font size=2
face="Courier New"><span lang=EN-GB style='font-size:10.0pt'>TeXworks.file = TeXworks.pro<o:p></o:p></span></font></pre><pre
style='-qt-block-indent:0'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'>TeXworks.depends = plugins-src/TWLuaPlugin \<o:p></o:p></span></font></pre><pre
style='-qt-block-indent:0'><font size=2 face="Courier New"><span lang=EN-GB
style='font-size:10.0pt'> plugins-src/TWPythonPlugin<o:p></o:p></span></font></pre>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>That one compiles the plugin and the main program.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>(an improvement would be: rename src directory into
main and plugin-src into plugin,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Shift TeXworks.pro into main, adjust paths…)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'>Regards<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>