Re: [POLL] Change Gobo bootstrap scripts to CMake

Eric Bezault <[email protected]> Wed, 23 Dec 2015 07:38:26 +0100
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
On 12/22/2015 19:42, CHAUVET Guillaume wrote:
> 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.

Note that it's not as easy as generating *.c and *.h files per classes.
Currently the Gobo compiler tries to optimize the C code generation by
performing a system level analysis of the Eiffel code. Which means that,
unless you just change one character in one string, it is likely that
every C file would change after each compile. In order to be truly
incremental at the C level, the Gobo compiler should have another C
code generation mode which is more focused on preserving the C code
unmodified rather than on global optimization. This is the same thing
as in ISE's EiffelStudio with workbench (frozen) and finalize modes. 
Currently the Gobo compiler only has the finalize mode.

-- 
Eric Bezault
mailto:[email protected]
http://www.gobosoft.com

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