<br><br><div class="gmail_quote">On Fri, Apr 22, 2011 at 3:18 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On 22 April 2011 14:33, Stefan Marr &lt;<a href="mailto:squeak@stefan-marr.de">squeak@stefan-marr.de</a>&gt; wrote:<br>
<br>
&gt; Again: why can&#39;t I set platformsDir to a path of my chose, which *eventually* will contain the right code? The code generation does not seem to depend on it.<br>
&gt;<br>
<br>
</div>good point.<br>
The source code generator don&#39;t needs platform files.<br></blockquote><div><br>and what are the uses of #platformRootDirectory, #platformDirectory, etc ...<br>why we set  #platformRootDirectoryName:   in Cmake ?<br> </div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The cmake configuration generation needs only a dir name (so it will<br>
generate configs which pointing to that path).<br>
But the problem is (if i remember correctly ), that i use platforms<br>
path as a default anchor point , starting from which, all other<br>
directories are assigned by default.<br>
<br></blockquote><div><br>no, I think you use topDir instead.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
So, if you set only platform sources path, then you will get:<br>
<br>
root:<br>
<br>
 platforms/..<br>
<br>
build:<br>
<br>
platforms/../build<br>
<br>
src:<br>
<br>
platforms/../src<br>
<br>
etc.<br>
<br>
Therefore, since code generator writes files to src and build dirs,<br>
you cannot leave platforms dir unspecified.<br>
<br>
But of course, when you specify all output dirs by yourself , then it<br>
should not force you to use valid (existing) platforms dir anymore.<br>
<font color="#888888"><br></font></blockquote><div><br>But it does. <br><br>prepareVMMaker<br><br>    | maker allPlugins |<br>    <br>    &quot;In CogVMs (in contrast to Interpreter VM) the generated sources are platform independent, therefore Cross is ok&quot;<br>
    maker := VMMaker forPlatform: &#39;Cross&#39;.<br>    <br>    maker sourceDirectoryName: self srcDir.<br>   <span style="background-color: rgb(255, 255, 51);"> maker platformRootDirectoryName: self platformsDir.</span><br>
    <br><br><br>I don&#39;t understand.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><font color="#888888">
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>