[Vm-dev] A couple of things about CMake

Mariano Martinez Peck marianopeck at gmail.com
Sun Apr 3 09:45:42 UTC 2011


Hi Igor. I was thinking a couple of things:

1) So...once I hace download anything from GIT, what I always need to do is:
a) take a pharo core 1.3
b) open the LoadVMMaker.st  so that I can see which versions of metacello
and cmake I need.
c) evaluate that over the pharo image
d) move my image to /build  so that it finds the /src and /platform by
default

So...I wonder what are the reason of not having such PharoCore image already
commited in GIT under /image.  You can even save it with a workspace opened
with the code of LoadVMMaker.st
is it just the size of it?

If I want to do it for myself, what is the best strategy?  clone to my own
fork, add the image there and then just pull the changes?

2) #prepareVMMaker does this:

prepareVMMaker

    | maker allPlugins |

    maker := VMMaker forPlatform: 'Cross'.
    maker sourceDirectoryName: (self srcDir assureExistence fullName).
    maker platformRootDirectoryName: (self topDir / 'platforms' ) fullName.

And

srcDir
    "Answer the value of srcDir"

    ^ srcDir ifNil: [ srcDir := self topDir / 'src' ]

This is cool because I can script the cong to use another src. But you don't
do the same for 'platform'. So I cannot do:

CogDebugMacOSConfig  new
    srcDir: 'myFolder';
 platformsDir: 'myPlatofrm';
     generateSources;
    generate.

Since the platform directory will be overwritten.



Cheers

Mariano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110403/638a5272/attachment.htm


More information about the Vm-dev mailing list