On Fri, Jun 27, 2014 at 1:46 PM, gettimothy <gettimothy@zoho.com> wrote:
 
Hi all

In Ian's CMake infrastructure, the instructions require the user to run the configure command before invoking cmake.

For the CMakeVMMaker(Squeak) we currently have config.h embedded in the class. 

For my first configuration after this massive refactoring I have done, I first ran the 'mvm' on the GNU side and then cut-n-paste that generated config.h into my class.

Tta;s an absurd thing to do.  It means that we need a different class for every single different release of a Unix OS, because the generated config.h could potentially change with every different release of a Unix OS.  config.h has *no* place in the image.  It must be generated at compile time.
 

That's ok for an intermediate step, but I would like to take it a step further and...

1. invoke configure from squeak (I have the configure flags like '--without-npsqueak --without-gl...etc" embedded in the class, so they are avaiable to invoke configure with)
2. detect the success or failure of the configure command 
3. if successful, load the generated config.h into my class (actually, this is redundant, but it may come in handy)
4. continue as normal.

Does this sound reasonable to everybody?


thx,


tty






--
best,
Eliot