Hi guys. After a couple of hours I made the configurations of Mac and Unix (there are still problems in Windows) totally configurable regarding the directories. I fixed a couple of hardcoded directories and now you are able to do:<br>
<br>&quot;The image where this code is being run has to be in a subdirectory of the git repostiory. Example:<br>/Users/mariano/Pharo/vm/git/cogVM1/blessed/image&quot;<br>MTCocoaIOSCogJitDebugConfig  generateWithSources <br>
<br>&quot;The image where this code is being run can be in ANY place&quot;<br>MTCocoaIOSCogJitDebugConfig new<br>    srcDir: &#39;/Users/mariano/Pharo/vm/git/cogVM1/blessed/src&#39;;<br>        platformsDir: &#39;/Users/mariano/Pharo/vm/git/cogVM1/blessed/platforms&#39;;<br>
        buildDir: &#39;/Users/mariano/Pharo/vm/git/cogVM1/blessed/build&#39;;<br>   &quot;The resourcesDir:  is only needed for Mac&quot; <br>   resourcesDir: &#39;/Users/mariano/Pharo/vm/git/cogVM1/blessed/macbuild/resources&#39;;<br>
    outputDir: &#39;/Users/mariano/Pharo/vm/git/cogVM1/blessed/results&#39;;<br>        generateSources; <br>    generate.<br>    <br>&quot;The image where this code is being run can be in ANY place&quot;    <br>MTCocoaIOSCogJitDebugConfig new<br>
    defaultDirectoriesFromGitDir: &#39;/Users/mariano/Pharo/vm/git/cogVM1/blessed&#39;;<br>    generateSources; <br>    generate.<br><br><br>with this last one, i can have my image where I want, I don&#39;t need to move it in a subdirectory of the git repo, and with those lines I can make it work. <br>
Be careful because I changed several places. If someone could review...<br><br>Name: CMakeVMMaker-MarianoMartinezPeck.83<br>Author: MarianoMartinezPeck<br>Time: 12 April 2011, 11:38:18 pm<br>UUID: 609cc5fb-016a-41cf-a94c-283c0c40c59f<br>
Ancestors: CMakeVMMaker-MarianoMartinezPeck.82<br><br>- replaced hardcoded directory names like  &#39;src&#39; by sourceDirName, &#39;buid&#39; by buildDirName, etc.<br>- Fix hardcoded directories for resources in Mac OS and for pluggins settings<br>
- added the method #defaultDirectoriesFromGitDir: gitRepository<br>to both, Unix and Mac OS. Check the implementaton for an example. <br>- &#39;outputDir&#39; can now also be parametrized like the rest of the directories.<br>
-  &#39;resourcesDir&#39; can now also be parametrized like the rest of the directories in Mac OS.<br><br><br>Thanks<br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
<br>