Re: [POLL] Change Gobo bootstrap scripts to CMake

CHAUVET Guillaume <[email protected]> Tue, 22 Dec 2015 19:42:45 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Organization Zatarox
Message-ID <[email protected]>
Hi Bernd,

> I find it absolutely fantastic that you are contributing to GOBO. Every 
> help is welcome.

Thank you, I've worked with Eiffel 10 years ago on my spare time. I 
always like this
language for DbC and the strong typing. Unfortunately, my job required 
Javascript (Node.JS)
and PHP like languages...

> Perhaps things become clearer if you let us know why you thought the
> .sh/.bat scripts needed improvement and start from there. Did you have
> problems bootstrapping GOBO on some platform? Did you find it too
> complicated?

Well, my idea was to provide a single way to bootstrap GOBO 
independently of operating system. I've selected Makefile or CMake.
I retain CMake because he have a good abstraction of environment and 
create CMake scripts is pretty easy.

I've discussed with Eric, we will kept the current bootstrap mechanism 
and we will add CMake as a second choice (to be confirmed).

> PS: Where I could see a use for CMake would be in the portability of
> wrapped C libraries or similar. Because CMake has no idea about Eiffel,
> things like incremental compilation and dependency analysis are not
> supported with CMake and Eiffel.

I hope one day GOBO will generate *.c *.h files per classes. By this 
way, we can enable ccache (natively supported by CMake 2.8.0) to detect 
what content files really change after C generation.

Regards

------------------------------------------------------------------------------